net/i40e: fix device parameter parsing
authorBeilei Xing <beilei.xing@intel.com>
Thu, 26 Jul 2018 02:19:15 +0000 (10:19 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Thu, 26 Jul 2018 06:01:47 +0000 (08:01 +0200)
commit33310b592f4157073186cfcf4a21da35d25ee405
treece955f152d079ab0fba79c0978692f6057376754
parent16ed22ba14ca4bdfa415626fdf76d3354bb5ffdb
net/i40e: fix device parameter parsing

There's parsing error when using device argument
support-multi-driver or queue-num-per-vf or both.
Error log is "PMD: Error parsing device, invalid
key <support-multi-driver>" and "PMD: Error parsing
device, invalid key <queue-num-per-vf>". The root
cause is that device argument will be parsed in
different parsing functions with local valid key .
This patch fixes the issue by combine all supported
arguments's valid keys.

Fixes: cfdfca493cae ("net/i40e: fix multiple driver support")
Fixes: ee653bd80044 ("net/i40e: determine number of queues per VF at run time")
Cc: stable@dpdk.org
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c