summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns/hns_roce_cmd.h
diff options
context:
space:
mode:
authorYixian Liu <liuyixian@huawei.com>2017-11-14 17:26:17 +0800
committerJason Gunthorpe <jgg@mellanox.com>2017-12-22 09:21:45 -0700
commita5073d6054f75d7c94b3354206eec4b804d2fbd4 (patch)
treee61eb2bd2aa2cdecb11e56e40c3049fd204bd2af /drivers/infiniband/hw/hns/hns_roce_cmd.h
parentb16f8188472efac75f5afc9a8226d635a9075672 (diff)
downloadblackbird-op-linux-a5073d6054f75d7c94b3354206eec4b804d2fbd4.tar.gz
blackbird-op-linux-a5073d6054f75d7c94b3354206eec4b804d2fbd4.zip
RDMA/hns: Add eq support of hip08
This patch adds eq support for hip08. The eq table can be multi-hop addressed. Signed-off-by: Yixian Liu <liuyixian@huawei.com> Reviewed-by: Lijun Ou <oulijun@huawei.com> Reviewed-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_cmd.h')
-rw-r--r--drivers/infiniband/hw/hns/hns_roce_cmd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_cmd.h b/drivers/infiniband/hw/hns/hns_roce_cmd.h
index b1c94223c28b..9549ae51a0dd 100644
--- a/drivers/infiniband/hw/hns/hns_roce_cmd.h
+++ b/drivers/infiniband/hw/hns/hns_roce_cmd.h
@@ -88,6 +88,16 @@ enum {
HNS_ROCE_CMD_DESTROY_SRQC_BT0 = 0x38,
HNS_ROCE_CMD_DESTROY_SRQC_BT1 = 0x39,
HNS_ROCE_CMD_DESTROY_SRQC_BT2 = 0x3a,
+
+ /* EQC commands */
+ HNS_ROCE_CMD_CREATE_AEQC = 0x80,
+ HNS_ROCE_CMD_MODIFY_AEQC = 0x81,
+ HNS_ROCE_CMD_QUERY_AEQC = 0x82,
+ HNS_ROCE_CMD_DESTROY_AEQC = 0x83,
+ HNS_ROCE_CMD_CREATE_CEQC = 0x90,
+ HNS_ROCE_CMD_MODIFY_CEQC = 0x91,
+ HNS_ROCE_CMD_QUERY_CEQC = 0x92,
+ HNS_ROCE_CMD_DESTROY_CEQC = 0x93,
};
enum {
OpenPOWER on IntegriCloud