summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hns/hns_roce_cmd.h
diff options
context:
space:
mode:
authorWei Hu(Xavier) <xavier.huwei@huawei.com>2017-10-26 17:10:23 +0800
committerDoug Ledford <dledford@redhat.com>2017-11-10 12:14:27 -0500
commita2c80b7b41194417b597d4c96c9892e4355f57a4 (patch)
tree7944283343808ff75c0caf8a8bc2a16bf8d549ff /drivers/infiniband/hw/hns/hns_roce_cmd.h
parent5c08681b4857684795e386781696908fc8e8a5d0 (diff)
downloadlwn-a2c80b7b41194417b597d4c96c9892e4355f57a4.tar.gz
lwn-a2c80b7b41194417b597d4c96c9892e4355f57a4.zip
RDMA/hns: Add rereg mr support for hip08
This patch adds rereg mr support for hip08. Signed-off-by: Shaobo Xu <xushaobo2@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Yixian Liu <liuyixian@huawei.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_cmd.h')
-rw-r--r--drivers/infiniband/hw/hns/hns_roce_cmd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_cmd.h b/drivers/infiniband/hw/hns/hns_roce_cmd.h
index f0039a7166d8..b1c94223c28b 100644
--- a/drivers/infiniband/hw/hns/hns_roce_cmd.h
+++ b/drivers/infiniband/hw/hns/hns_roce_cmd.h
@@ -75,6 +75,9 @@ enum {
HNS_ROCE_CMD_DESTROY_MPT_BT1 = 0x29,
HNS_ROCE_CMD_DESTROY_MPT_BT2 = 0x2a,
+ /* MPT commands */
+ HNS_ROCE_CMD_QUERY_MPT = 0x62,
+
/* SRQC BT commands */
HNS_ROCE_CMD_WRITE_SRQC_BT0 = 0x30,
HNS_ROCE_CMD_WRITE_SRQC_BT1 = 0x31,