linux_dsm_epyc7002/drivers/infiniband/hw
Moni Shoua cbfdd442c4 IB/uverbs: Add helper to get array size from ptr attribute
When the parser of an ioctl command has the knowledge that a ptr attribute
in a bundle represents an array of structures, it is useful for it to know
the number of elements in the array. This is done by dividing the
attribute length with the element size.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Guy Levi <guyle@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-12-18 15:19:45 -07:00
..
bnxt_re RDMA/bnxt_re: Initialize ib_device_ops struct 2018-12-11 15:15:07 -07:00
cxgb3 RDMA/cxgb3: Initialize ib_device_ops struct 2018-12-11 15:15:07 -07:00
cxgb4 RDMA/cxgb4: Initialize ib_device_ops struct 2018-12-11 15:15:07 -07:00
hfi1 RDMA/hfi1: Initialize ib_device_ops struct 2018-12-11 15:15:07 -07:00
hns RDMA/hns: Fix an error code in hns_roce_create_srq() 2018-12-18 14:21:45 -07:00
i40iw RDMA/i40iw: Make sure to initialize ib_device_ops 2018-12-18 14:12:26 -07:00
mlx4 IB/mlx4: Utilize macro to calculate SQ spare size 2018-12-18 14:24:34 -07:00
mlx5 IB/uverbs: Add helper to get array size from ptr attribute 2018-12-18 15:19:45 -07:00
mthca RDMA/mthca: Initialize ib_device_ops struct 2018-12-12 07:40:13 -07:00
nes RDMA: Start use ib_device_ops 2018-12-12 07:40:16 -07:00
ocrdma RDMA/ocrdma: Initialize ib_device_ops struct 2018-12-12 07:40:14 -07:00
qedr RDMA/qedr: Initialize ib_device_ops struct 2018-12-12 07:40:14 -07:00
qib IB/qib: Fix an error code in qib_sdma_verbs_send() 2018-12-18 14:20:41 -07:00
usnic RDMA/usnic: Initialize ib_device_ops struct 2018-12-12 07:40:15 -07:00
vmw_pvrdma RDMA/vmw_pvrdma: Initialize ib_device_ops struct 2018-12-12 07:40:15 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00