net/qede: add devargs to disable NPAR Tx switching
authorRasesh Mody <rasesh.mody@cavium.com>
Wed, 28 Mar 2018 00:15:53 +0000 (17:15 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:44 +0000 (14:08 +0200)
commit612ce81b2007e67c2b02e2dce9b25e8fb8639991
tree9dbc661ba4e4508a4bf4fa456e2bd01a2c81bac1
parente1e38962c92580f670442343c0f016ca1f5a662e
net/qede: add devargs to disable NPAR Tx switching

Added a run-time argument npar_tx_switching to enable/disable
Tx switching for multi-fucntion devices (NPAR).
Rename vf_txswitch option to vf_tx_switching.

Sample usage to disable Tx switching for NPAR or VF is something like...

 -w 05:00.0,npar_tx_switching=0 -w 05:00.1,npar_tx_switching=0
 -w 05:00.0,vf_tx_switching=0 -w 05:00.1,vf_tx_switching=0

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/qede_ethdev.c