RDMA/hns: Use structs to describe the uABI instead of opencoding
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 14 Mar 2018 20:39:42 +0000 (14:39 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 15 Mar 2018 21:58:04 +0000 (15:58 -0600)
commit633fb4d9fdaa613308c136293107f28e08e85d25
tree29d3e13600f6caedc5b7016afd5c69d0bfbf6245
parent9a657b4c4a9073037121331bb54663bf11f08342
RDMA/hns: Use structs to describe the uABI instead of opencoding

Open coding a loose value is not acceptable for describing the uABI in
RDMA. Provide the missing struct.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_pd.c
include/uapi/rdma/hns-abi.h