]> git.baikalelectronics.ru Git - kernel.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)
commit42edcc589499e63a79e28700adab503d1e8af0e5
tree9e869e321d5940014a575154e1f86338e1ddb9bd
parent1dbbc5729d01fac447b530b0ebffa5bd1559a0ee
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