linux_dsm_epyc7002/drivers/infiniband/ulp
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
..
ipoib RDMA/netdev: Hoist alloc_netdev_mqs out of the driver 2018-10-10 17:58:11 -07:00
iser Merge branch 'linus/master' into rdma.git for-next 2018-08-16 14:21:29 -06:00
isert IB/isert: Simplify ib_post_(send|recv|srq_recv)() calls 2018-07-24 16:06:36 -06:00
opa_vnic net: allow ndo_select_queue to pass netdev 2018-07-09 13:41:34 -07:00
srp IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop 2018-09-19 15:28:24 -06:00
srpt Merge branch 'linus/master' into rdma.git for-next 2018-08-16 14:21:29 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00