]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Configure sgid type for hip08 RoCE
authorWei Hu(Xavier) <xavier.huwei@huawei.com>
Thu, 26 Oct 2017 09:10:25 +0000 (17:10 +0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 10 Nov 2017 17:14:27 +0000 (12:14 -0500)
commitcfb0f5c11274f2d14ae9d7e16cc0cafdba690222
treea7828647f5ec792b0f03dcd14be684fa62832c16
parent27d783865b467d2fd2a7b172ee683a920d9440c4
RDMA/hns: Configure sgid type for hip08 RoCE

The hardware vendors need to generate RoCEv1 or RoCEv2
packet according to the sgid type configured.

Besides, update the gid table size for hip08 RoCE
device.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Shaobo Xu <xushaobo2@huawei.com>
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
drivers/infiniband/hw/hns/hns_roce_main.c