[dpdk-dev] [PATCH v3] net/i40e: fix FDIR check programming status error

Zhang, Qi Z qi.z.zhang at intel.com
Fri Jul 13 05:51:41 CEST 2018



> -----Original Message-----
> From: Zhao1, Wei
> Sent: Friday, July 13, 2018 11:17 AM
> To: dev at dpdk.org
> Cc: Zhang, Qi Z <qi.z.zhang at intel.com>; stable at dpdk.org; Zhao1, Wei
> <wei.zhao1 at intel.com>
> Subject: [PATCH v3] net/i40e: fix FDIR check programming status error
> 
> In i40e FDIR PMD code for checking programming status function
> i40e_check_fdir_programming_status(), the initial value of return value ret
> should be set to -1 not 0, because if DD bit of I40E_RX_DESC_STATUS_DD is not
> write back, this function will return
> 0 to upper function, this give an error info to upper function, the fact for this is
> it is time out for DD write back and it should return -1.
> 
> Fixes: 05999aab4ca6 ("i40e: add or delete flow director")
> Signed-off-by: Wei Zhao <wei.zhao1 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