[dpdk-dev] [PATCH v2] net/ice: fix VF index check for DCF

Lu, Nannan nannan.lu at intel.com
Wed Aug 12 04:43:28 CEST 2020


> -----Original Message-----
> From: Zhao1, Wei <wei.zhao1 at intel.com>
> Sent: Wednesday, August 12, 2020 8:57 AM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Zhang, Qi Z <qi.z.zhang at intel.com>; Lu, Nannan
> <nannan.lu at intel.com>; Zhao1, Wei <wei.zhao1 at intel.com>
> Subject: [PATCH v2] net/ice: fix VF index check for DCF
> 
> The vf index in rte_flow command need to check in order that larger the actual
> number. Also change some error log for wrong action.
> 
> Fixes: 829c3106812d ("net/ice: enable switch flow on DCF")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Wei Zhao <wei.zhao1 at intel.com>
> 
> ---
> v2: change error log
> ---
>  drivers/net/ice/ice_switch_filter.c | 18 ++++++++++++------
>  1 file changed, 12 insertions(+), 6 deletions(-)
> 

Tested-by: Nannan Lu <nannan.lu at intel.com>

> --
> 2.19.1



More information about the dev mailing list