OSDN Git Service

RDMA/cxgb4: Use structs to describe the uABI instead of opencoding
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 14 Mar 2018 22:01:50 +0000 (16:01 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 15 Mar 2018 21:58:04 +0000 (15:58 -0600)
commit7f86260b5f44d93ab20d3e9afda0e3f48d005ffe
tree9d5b717f71c82069e5f3eabcdf951d3b98fc20a3
parent633fb4d9fdaa613308c136293107f28e08e85d25
RDMA/cxgb4: 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.

Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/provider.c
include/uapi/rdma/cxgb4-abi.h