diff options
author | Weihang Li <liweihang@huawei.com> | 2020-10-24 11:07:15 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-10-28 13:40:42 -0300 |
commit | d6d91e46210f3adb7b6d4c667cb72bf847b5783a (patch) | |
tree | 29ac84d10c640303036b72f20c4d918bc67ff69b /drivers/infiniband/hw/hns/hns_roce_hem.h | |
parent | 3f4e3d962dfda68e024d57cf2408cacf081cd9df (diff) | |
download | linux-stable-d6d91e46210f3adb7b6d4c667cb72bf847b5783a.tar.gz linux-stable-d6d91e46210f3adb7b6d4c667cb72bf847b5783a.tar.bz2 linux-stable-d6d91e46210f3adb7b6d4c667cb72bf847b5783a.zip |
RDMA/hns: Add support for configuring GMV table
HIP09 supports to store SGID/SMAC/VLAN together in a table named GMV. The
driver needs to allocate memory for it and tell the information about this
region to hardware.
Link: https://lore.kernel.org/r/1603508836-33054-2-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_hem.h')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_hem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_hem.h b/drivers/infiniband/hw/hns/hns_roce_hem.h index b34c940077bb..c6bd98228a44 100644 --- a/drivers/infiniband/hw/hns/hns_roce_hem.h +++ b/drivers/infiniband/hw/hns/hns_roce_hem.h @@ -47,6 +47,7 @@ enum { HEM_TYPE_SCCC, HEM_TYPE_QPC_TIMER, HEM_TYPE_CQC_TIMER, + HEM_TYPE_GMV, /* UNMAP HEM */ HEM_TYPE_MTT, |