diff options
| author | Moni Shoua <[email protected]> | 2015-07-30 15:33:28 +0000 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2015-08-30 22:12:20 +0000 |
| commit | 79857cd31fe70145ff007d4e968557af342c8ccd (patch) | |
| tree | 16eb5651b5b51e6619cf2010fe14bad625207555 /drivers/infiniband/core/cache.c | |
| parent | IB/core: Add RoCE table bonding support (diff) | |
| download | kernel-79857cd31fe70145ff007d4e968557af342c8ccd.tar.gz kernel-79857cd31fe70145ff007d4e968557af342c8ccd.zip | |
net/mlx4: Postpone the registration of net_device
The mlx4 network driver was registered in the context of the 'add'
function of the core driver (called when HW should be registered).
This makes the netdev event NETDEV_REGISTER to be sent in a context
where the answer to get_protocol_dev() callback returns NULL. This may
be confusing to listeners of netdev events.
This patch is a preparation to the patch that implements the
get_netdev() callback in the IB/mlx4 driver.
Signed-off-by: Moni Shoua <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'drivers/infiniband/core/cache.c')
0 files changed, 0 insertions, 0 deletions
