]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bnx2x: Support of PF driver of a VF close request
authorAriel Elior <ariele@broadcom.com>
Tue, 1 Jan 2013 05:22:40 +0000 (05:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jan 2013 09:45:07 +0000 (01:45 -0800)
commit99e9d211a40cdd12bda7f50c2014c2fbb8f386f5
tree9e869e321d5940014a575154e1f86338e1ddb9bd
parent463a68a7734db3975c0d1c748f5fde713eb9a5b9
bnx2x: Support of PF driver of a VF close request

The 'close' command is the opposite of an init request. Here the
queues of the VF are closed (if any are opened) and released.
This flow applies the 'q_teardown' flow on all the queues.
The VF state is changed by this request.
Interrupts are disabled for the VF when closed.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c