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

2018-07-12 Thread Zhang, Qi Z
> -Original Message- > From: Zhao1, Wei > Sent: Friday, July 13, 2018 11:17 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; sta...@dpdk.org; Zhao1, Wei > > Subject: [PATCH v3] net/i40e: fix FDIR check programming status error > > In i40e FDIR PMD code for checking programming status function

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

2018-07-12 Thread Zhao Wei
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