RDMA/hns: Update the value of qp type
authorLijun Ou <oulijun@huawei.com>
Mon, 6 Jan 2020 12:21:12 +0000 (20:21 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 7 Jan 2020 20:26:33 +0000 (16:26 -0400)
commit5e049a5d6c83b8a4aea70f02d4fd81f592a2cb49
tree0601a5cc0ad96286ad137cbe1f42c250a74f3e9c
parent58e4fc11c1a56756a3fb45a10d5cb09bb68b3030
RDMA/hns: Update the value of qp type

The values used to represent service type of RC and UD should be
interchanged according to design of hardware. And it's better to define
these types in enumeration than macros.

Link: https://lore.kernel.org/r/1578313276-29080-4-git-send-email-liweihang@huawei.com
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_device.h