diff options
author | oulijun <oulijun@huawei.com> | 2018-01-10 14:39:52 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-16 20:38:18 -0700 |
commit | 2eade675351b0ef9e054ccb62334efd716aa853c (patch) | |
tree | ab22b4f4393169ac9fc6e2de52ed673f8af5c391 /drivers/infiniband/hw/hns/hns_roce_hw_v2.h | |
parent | RDMA/hns: Assign zero for pkey_index of wc in hip08 (diff) | |
download | linux-dev-2eade675351b0ef9e054ccb62334efd716aa853c.tar.xz linux-dev-2eade675351b0ef9e054ccb62334efd716aa853c.zip |
RDMA/hns: Update the verbs of polling for completion
If the port is a RoCEv2 port, the remote port address and QP information
which returned for UD will be modified.
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h index 26fa7005dbf1..960df095392a 100644 --- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h +++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h @@ -769,7 +769,7 @@ struct hns_roce_v2_cqe { u32 byte_12; u32 byte_16; u32 byte_cnt; - u32 smac; + u8 smac[4]; u32 byte_28; u32 byte_32; }; |