]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Send PF driver unload notification to all VFs.
authorJeffrey Huang <huangjw@broadcom.com>
Fri, 26 Feb 2016 09:00:00 +0000 (04:00 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 20:37:00 +0000 (15:37 -0500)
commitd92b49ae283fbf63a656b18aedf1aa98b021e41e
tree626bdcaa9f40de95122124e143d7e1034d1acada
parent7cb12265424b29cf5619f5b327a50e6bd919fc3c
bnxt_en: Send PF driver unload notification to all VFs.

During remove_one() when SRIOV is enabled, the PF driver
should broadcast PF driver unload notification to all
VFs that are attached to VMs. Upon receiving the PF
driver unload notification, the VF driver should print
a warning message to message log.  Certain operations on the
VF may not succeed after the PF has unloaded.

Signed-off-by: Jeffrey Huang <huangjw@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c