[dpdk-dev] [PATCH] net/i40e: fix flow control broken

Ye Xiaolong xiaolong.ye at intel.com
Mon Dec 16 06:22:49 CET 2019


On 12/16, Ye Xiaolong wrote:
>On 12/06, Guinan Sun wrote:
>>Repeat switching flow control on or off during receiving traffic,
>>testpmd reports "failed to switch Tx queue occurs" after quit.
>>The patch fixes the issue.
>>
>>Fixes: f53577f06925 ("i40e: support flow control")
>>Cc: stable at dpdk.org
>>
>>Signed-off-by: Guinan Sun <guinanx.sun at intel.com>
>>---
>> drivers/net/i40e/i40e_ethdev.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>>diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
>>index 5999c964b..5507f6c39 100644
>>--- a/drivers/net/i40e/i40e_ethdev.c
>>+++ b/drivers/net/i40e/i40e_ethdev.c
>>@@ -53,7 +53,7 @@
>> 
>> /* Wait count and interval */
>> #define I40E_CHK_Q_ENA_COUNT       1000
>>-#define I40E_CHK_Q_ENA_INTERVAL_US 1000
>>+#define I40E_CHK_Q_ENA_INTERVAL_US 50000
>> 
>> /* Maximun number of VSI */
>> #define I40E_MAX_NUM_VSIS          (384UL)
>>-- 
>>2.17.1
>>
>
>Acked-by: Xiaolong Ye <xiaolong.ye at intel.com>
>
>Applied to dpdk-next-net-intel, Thanks.

Sorry, there is still concern about this patch, drop it from next-net-intel first.


More information about the dev mailing list