bnx2x: Correct default Tx switching behaviour
authorYuval Mintz <yuvalmin@broadcom.com>
Sun, 12 Jan 2014 12:37:59 +0000 (14:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 01:10:30 +0000 (17:10 -0800)
commitc14db20259ccb623171d4b788e51dd3e8df901d7
treedd0da2ef8ef0bb8a96dd47d27cf218995734b08c
parent08c93cd99b2f31ba9e85ce28ad8946f285b5dc0f
bnx2x: Correct default Tx switching behaviour

With this patch bnx2x will configure the PF to perform Tx switching on
out-going traffic as soon as SR-IOV is dynamically enabled and de-activate
it when it is disabled.
This will allow VFs to communicate with their parent PFs.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c