mbox series

[v2,for-next,0/7] RDMA/hns: Support UD for HIP09

Message ID 1605526408-6936-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Support UD for HIP09 | expand

Message

Weihang Li Nov. 16, 2020, 11:33 a.m. UTC
This series does cleanups on UD related code at first, including removing
dead code, adding necessary check and some refactors. Then the UD feature
is enabled on HIP09.

Changes since v1:
- Don't allow HIP08's user to create AH and UD QP from userspace and add
  .create_user_ah in #6.
- Drop #4 from the v1 series which needs more discussion about the reserved
  sl.
link: https://patchwork.kernel.org/project/linux-rdma/cover/1604057975-23388-1-git-send-email-liweihang@huawei.com/

Weihang Li (7):
  RDMA/hns: Only record vlan info for HIP08
  RDMA/hns: Fix missing fields in address vector
  RDMA/hns: Avoid setting loopback indicator when smac is same as dmac
  RDMA/hns: Remove the portn field in UD SQ WQE
  RDMA/hns: Simplify process of filling UD SQ WQE
  RDMA/hns: Add UD support for HIP09
  RDMA/hns: Add support for UD inline

 drivers/infiniband/hw/hns/hns_roce_ah.c     |  62 ++++-----
 drivers/infiniband/hw/hns/hns_roce_device.h |   4 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 196 ++++++++++++++++++++--------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  44 +++----
 drivers/infiniband/hw/hns/hns_roce_main.c   |   1 +
 drivers/infiniband/hw/hns/hns_roce_qp.c     |  45 +++++--
 6 files changed, 229 insertions(+), 123 deletions(-)

Comments

Jason Gunthorpe Nov. 26, 2020, 7:44 p.m. UTC | #1
On Mon, Nov 16, 2020 at 07:33:21PM +0800, Weihang Li wrote:
> This series does cleanups on UD related code at first, including removing
> dead code, adding necessary check and some refactors. Then the UD feature
> is enabled on HIP09.
> 
> Changes since v1:
> - Don't allow HIP08's user to create AH and UD QP from userspace and add
>   .create_user_ah in #6.
> - Drop #4 from the v1 series which needs more discussion about the reserved
>   sl.
> link: https://patchwork.kernel.org/project/linux-rdma/cover/1604057975-23388-1-git-send-email-liweihang@huawei.com/
> 
> Weihang Li (7):
>   RDMA/hns: Only record vlan info for HIP08
>   RDMA/hns: Fix missing fields in address vector
>   RDMA/hns: Avoid setting loopback indicator when smac is same as dmac
>   RDMA/hns: Remove the portn field in UD SQ WQE
>   RDMA/hns: Simplify process of filling UD SQ WQE
>   RDMA/hns: Add UD support for HIP09
>   RDMA/hns: Add support for UD inline

Applied to for-next, thanks

Jason
Jason Gunthorpe Nov. 26, 2020, 7:45 p.m. UTC | #2
On Thu, Nov 26, 2020 at 03:44:41PM -0400, Jason Gunthorpe wrote:
> On Mon, Nov 16, 2020 at 07:33:21PM +0800, Weihang Li wrote:
> > This series does cleanups on UD related code at first, including removing
> > dead code, adding necessary check and some refactors. Then the UD feature
> > is enabled on HIP09.
> > 
> > Changes since v1:
> > - Don't allow HIP08's user to create AH and UD QP from userspace and add
> >   .create_user_ah in #6.
> > - Drop #4 from the v1 series which needs more discussion about the reserved
> >   sl.
> > link: https://patchwork.kernel.org/project/linux-rdma/cover/1604057975-23388-1-git-send-email-liweihang@huawei.com/
> > 
> > Weihang Li (7):
> >   RDMA/hns: Only record vlan info for HIP08
> >   RDMA/hns: Fix missing fields in address vector
> >   RDMA/hns: Avoid setting loopback indicator when smac is same as dmac
> >   RDMA/hns: Remove the portn field in UD SQ WQE
> >   RDMA/hns: Simplify process of filling UD SQ WQE
> >   RDMA/hns: Add UD support for HIP09
> 
> Applied to for-next, thanks

> >   RDMA/hns: Add support for UD inline

But I didn't take this patch since it seems to be dead code

Jason