diff options
author | Mustafa Ismail <mustafa.ismail@intel.com> | 2016-11-30 22:07:30 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-05 22:09:41 +0100 |
commit | e5e74b61b16503acbd914f673b783fa2a1532a64 (patch) | |
tree | c9b336820d5c29cf0719f1602977a9aa9c6f00a8 /drivers/infiniband/hw/i40iw/i40iw_cm.h | |
parent | i40iw: Add missing cleanup on device close (diff) | |
download | linux-e5e74b61b16503acbd914f673b783fa2a1532a64.tar.xz linux-e5e74b61b16503acbd914f673b783fa2a1532a64.zip |
i40iw: Add IP addr handling on netdev events
Disable listeners and disconnect all connected QPs on
a netdev interface down event. On an interface up event,
the listeners are re-enabled.
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_cm.h')
-rw-r--r-- | drivers/infiniband/hw/i40iw/i40iw_cm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_cm.h b/drivers/infiniband/hw/i40iw/i40iw_cm.h index 0381b7f5e20d..49ed7a52a84d 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_cm.h +++ b/drivers/infiniband/hw/i40iw/i40iw_cm.h @@ -444,5 +444,7 @@ int i40iw_arp_table(struct i40iw_device *iwdev, u8 *mac_addr, u32 action); +void i40iw_if_notify(struct i40iw_device *iwdev, struct net_device *netdev, + u32 *ipaddr, bool ipv4, bool ifup); void i40iw_cm_disconnect_all(struct i40iw_device *iwdev); #endif /* I40IW_CM_H */ |