linux_dsm_epyc7002/drivers/infiniband
Denis Drozdov f6a8a19bb1 RDMA/netdev: Hoist alloc_netdev_mqs out of the driver
netdev has several interfaces that expect to call alloc_netdev_mqs from
the core code, with the driver only providing the arguments.  This is
incompatible with the rdma_netdev interface that returns the netdev
directly.

Thus re-organize the API used by ipoib so that the verbs core code calls
alloc_netdev_mqs for the driver. This is done by allowing the drivers to
provide the allocation parameters via a 'get_params' callback and then
initializing an allocated netdev as a second step.

Fixes: cd565b4b51 ("IB/IPoIB: Support acceleration options callbacks")
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Denis Drozdov <denisd@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2018-10-10 17:58:11 -07:00
..
core RDMA/netdev: Hoist alloc_netdev_mqs out of the driver 2018-10-10 17:58:11 -07:00
hw RDMA/netdev: Hoist alloc_netdev_mqs out of the driver 2018-10-10 17:58:11 -07:00
sw Linux 4.18 2018-08-16 13:12:00 -06:00
ulp RDMA/netdev: Hoist alloc_netdev_mqs out of the driver 2018-10-10 17:58:11 -07:00
Kconfig IB/ucm: fix UCM link error 2018-08-21 16:56:32 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00