[dpdk-dev] [PATCH v2] net/i40e: fix device arguments parsing error

Zhang, Qi Z qi.z.zhang at intel.com
Thu Jul 26 08:16:00 CEST 2018



> -----Original Message-----
> From: Xing, Beilei
> Sent: Thursday, July 26, 2018 10:19 AM
> To: Zhang, Qi Z <qi.z.zhang at intel.com>
> Cc: dev at dpdk.org; Stillwell Jr, Paul M <paul.m.stillwell.jr at intel.com>;
> stable at dpdk.org
> Subject: [PATCH v2] net/i40e: fix device arguments parsing error
> 
> 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 .

It seems the error log is hidden from the screen after some other patches, 
but it's good to fix this to only record those real invalid parameters.

> 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 at dpdk.org
> 
> Signed-off-by: Beilei Xing <beilei.xing at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel

Thanks!
Qi


More information about the dev mailing list