mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 10:16:55 +07:00
f6a8a19bb1
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:
|
||
---|---|---|
.. | ||
ipoib_cm.c | ||
ipoib_ethtool.c | ||
ipoib_fs.c | ||
ipoib_ib.c | ||
ipoib_main.c | ||
ipoib_multicast.c | ||
ipoib_netlink.c | ||
ipoib_verbs.c | ||
ipoib_vlan.c | ||
ipoib.h | ||
Kconfig | ||
Makefile |