diff options
author | Somnath Kotur <somnath.kotur@broadcom.com> | 2016-09-07 17:27:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-08 08:44:55 +0300 |
commit | f72099e057c0b3ea3cfd16301cff9202c4db8ef4 (patch) | |
tree | c1534c187847d8781232b24232e95dd948d32e52 /drivers/hv/vmbus_drv.c | |
parent | 710f3e5961a71dd58fe367eac48deecd5af45a48 (diff) | |
download | linux-f72099e057c0b3ea3cfd16301cff9202c4db8ef4.tar.xz |
be2net: Issue COMMON_RESET_FUNCTION cmd during driver unload
As per SLI guideline, drivers need to issue COMMON_RESET_FUNCTION SLI
cmd during driver unload to clean up any non-persistent state
information.
Issue this cmd only if VFs are not assigned to VMs as it is possible
for PF driver to unload while it\'s VF remains functional and assigned
to a VM.
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hv/vmbus_drv.c')
0 files changed, 0 insertions, 0 deletions