]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:36:56 +0000 (17:36 -0700)
commit3899567337a296f37814ffe4d6362d59bb43f5ad
tree2f03bb0edf856796b5ffe7f89077f201ac66291f
parent8cb1253ad76048fdf7a744d8b34e4034cb003999
bnxt_en: Send PF driver unload notification to all VFs.

Orabug: 23221795

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>
(cherry picked from commit 19241368443ff976b1924019d29eef8e972158e7)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c