aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/main.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-03-13 16:33:18 -0600
committerJason Gunthorpe <jgg@mellanox.com>2018-03-15 15:58:02 -0600
commit0c43ab371bcb07d9ed9c95ea116e6d1d703b56ca (patch)
tree4222f1b36834ed86a0e1d1bc503756b890abd6b1 /drivers/infiniband/hw/mlx4/main.c
parentRDMA/rxe: Get rid of confusing udata parameter to rxe_cq_chk_attr (diff)
downloadlinux-dev-0c43ab371bcb07d9ed9c95ea116e6d1d703b56ca.tar.xz
linux-dev-0c43ab371bcb07d9ed9c95ea116e6d1d703b56ca.zip
RDMA/rxe: Use structs to describe the uABI instead of opencoding
Open coding pointer math is not acceptable for describing the uABI in RDMA. Provide structs for all the cases. The udata is casted to the struct as close to the verbs entry point as possible for maximum clarity. Function signatures and so forth are revised to allow for this. Tested-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/main.c')
0 files changed, 0 insertions, 0 deletions