net/qede: fix for devargs
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 22 May 2018 23:16:04 +0000 (16:16 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commita16aef523c11b6e64a809242c77ff7f2c5e9a864
treeb5c19cabea517ec3d780db849f34a22f7f866cb9
parentd121a6b5f781525f65257920e97c1f033229f5e8
net/qede: fix for devargs

Do not error out on invalid devarg, log the message and continue.
Decide updating the tx-switching config in check args. Add a check for
VF when disabling tx-switching

Fixes: 612ce81b2007 ("net/qede: add devargs to disable NPAR Tx switching")
Fixes: f64b91b0eb5d ("net/qede: replace config option with run-time arg")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/qede_ethdev.c