]> 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)
commit62b74429c4170481113dc96a5157ba36ad2716be
treea7828647f5ec792b0f03dcd14be684fa62832c16
parent20aaa40ddcc48d4fa5a2a03cfa72daf3814e5a79
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