qed*: Tx-switching configuration

Device should be configured by default to VEB once VFs are active.
This changes the configuration of both PFs' and VFs' vports into enabling
tx-switching once sriov is enabled.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Yuval Mintz
2016-05-11 16:36:25 +03:00
committed by David S. Miller
parent 73390ac9d8
commit 831bfb0e88
11 changed files with 53 additions and 4 deletions

View File

@@ -93,6 +93,7 @@ struct qed_dev_info {
u32 flash_size;
u8 mf_mode;
bool tx_switching;
};
enum qed_sb_type {