linux_dsm_epyc7002/drivers/infiniband/hw/qedr
Leon Romanovsky 459cc69fa4 RDMA: Provide safe ib_alloc_device() function
All callers to ib_alloc_device() provide a larger size than struct
ib_device and rely on the fact that struct ib_device is embedded in their
driver specific structure as the first member.

Provide a safer variant of ib_alloc_device() that checks and enforces this
approach to make sure the drivers are using it right.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-01-30 15:52:30 -07:00
..
Kconfig Updates for 4.15 kernel merge window 2017-11-15 14:54:53 -08:00
main.c RDMA: Provide safe ib_alloc_device() function 2019-01-30 15:52:30 -07:00
Makefile RDMA/qedr: Add iWARP connection management qp related callbacks 2017-08-18 12:26:38 -04:00
qedr_hsi_rdma.h qedr: Add support for kernel mode SRQ's 2018-08-14 16:31:54 -06:00
qedr_iw_cm.c IB/hw: Remove unneeded semicolons 2019-01-18 14:04:46 -07:00
qedr_iw_cm.h RDMA/qedr: Add iWARP connection management functions 2017-08-18 12:27:14 -04:00
qedr_roce_cm.c RDMA/qedr: Remove enumerated type qed_roce_ll2_tx_dest 2018-09-30 19:21:11 -06:00
qedr_roce_cm.h RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
qedr.h RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
verbs.c Merge branch 'devx-async' into k.o/for-next 2019-01-29 13:49:31 -07:00
verbs.h RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00