net/qede: replace config option with run-time arg
authorRasesh Mody <rasesh.mody@cavium.com>
Fri, 12 Jan 2018 21:50:01 +0000 (13:50 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sun, 21 Jan 2018 14:51:52 +0000 (15:51 +0100)
commitf64b91b0eb5d4721bbc93cbcc5b6044c1bb04300
treeb5448d2e363732412d6f2309102ca6f77b858396
parent785482203fdaa9bb0053cac6d74c2a045dd573d1
net/qede: replace config option with run-time arg

This patch adds support for handling run-time driver arguments.
We have removed config option for per VF Tx switching and added
a run-time argument vf_txswitch. By default, the VF Tx switching is
enabled however it can be disabled using run-time argument.

Sample usage to disable per port VF Tx switching is something like...

 -w 05:00.0,vf_txswitch=0 -w 05:00.1,vf_txswitch=0

Fixes: 1282943aa05b ("net/qede: fix default config option")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
config/common_base
drivers/net/qede/qede_ethdev.c
drivers/net/qede/qede_ethdev.h