i40iw: Add notifier for network device events

Register a netdevice notifier for netdev UP/DOWN
notification events and report the appropriate ib event.

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
Shiraz Saleem 2017-12-22 09:46:57 -06:00 • committed by Jason Gunthorpe
commit 0c5d515546
3 changed files with 56 additions and 3 deletions