Files
android_kernel_xiaomi_sm8450/drivers/infiniband/core
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
..
2018-07-30 20:49:04 -06:00
2015-06-12 14:49:18 -04:00
2018-09-06 13:01:59 -06:00
2018-06-12 16:19:22 -07:00
2018-06-18 11:22:54 -06:00
2008-07-14 23:48:44 -07:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2018-08-13 20:04:37 -06:00
2016-03-03 10:20:25 -05:00
2018-09-25 14:47:33 -06:00