mbox series

[for-next,0/2] RDMA/hns: Support GMV table

Message ID 1603508836-33054-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Support GMV table | expand

Message

Weihang Li Oct. 24, 2020, 3:07 a.m. UTC
GMV(GID/MAC/VLAN) table is used for HIP09 to store above information
together instead of filling them in different table respectively, so that
the users can just provide the index to the hardware when post send.

Weihang Li (2):
  RDMA/hns: Add support for configuring GMV table
  RDMA/hns: Add support for filling GMV table

 drivers/infiniband/hw/hns/hns_roce_device.h |  10 ++
 drivers/infiniband/hw/hns/hns_roce_hem.c    |  15 ++
 drivers/infiniband/hw/hns/hns_roce_hem.h    |   1 +
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 222 +++++++++++++++++++++-------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  60 +++++++-
 drivers/infiniband/hw/hns/hns_roce_main.c   |  26 +++-
 6 files changed, 275 insertions(+), 59 deletions(-)

Comments

Jason Gunthorpe Oct. 28, 2020, 4:45 p.m. UTC | #1
On Sat, Oct 24, 2020 at 11:07:14AM +0800, Weihang Li wrote:
> GMV(GID/MAC/VLAN) table is used for HIP09 to store above information
> together instead of filling them in different table respectively, so that
> the users can just provide the index to the hardware when post send.
> 
> Weihang Li (2):
>   RDMA/hns: Add support for configuring GMV table
>   RDMA/hns: Add support for filling GMV table

Applied to for-next

Thanks
Jason