RDMA/hns: Update some attributes of the RoCE device
authorLijun Ou <oulijun@huawei.com>
Sun, 30 Sep 2018 09:00:33 +0000 (17:00 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Oct 2018 22:21:17 +0000 (16:21 -0600)
commit3a63c964eaa168c4ada1076b7c6ffd6a53a9ef86
tree0d3b55312e0e3162a2bb16faf7ce89827c23d18a
parent157b52a08da68b650a6b5bcaf427d39a5d016a36
RDMA/hns: Update some attributes of the RoCE device

According to the IB protocol definition, the driver needs to show the
correct device information and the information will be queryed by device
attribute.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_device.h
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