[dpdk-dev] [PATCH] net/i40e: fix link status

2020-07-30 Thread Guinan Sun
The PF driver supports to use link_event_adv or link_event to get the link speed. However, when using link_event_adv to get link speed, there is a lack of logic to convert between link speed type (I40E_LINK_SPEED_XXX) and mbps type (SPEED_XXX). As a result, the mbps type is not recognized, so the l

Re: [dpdk-dev] [PATCH] net/i40e: fix link status

2020-07-30 Thread Jeff Guo
hi, guinan On 7/30/2020 4:25 PM, Guinan Sun wrote: The PF driver supports to use link_event_adv or link_event to get the link speed. However, when using link_event_adv to get link speed, there is a lack of logic to convert between link speed type (I40E_LINK_SPEED_XXX) and mbps type (SPEED_XXX).

Re: [dpdk-dev] [PATCH] net/i40e: fix link status

2020-07-30 Thread Sun, GuinanX
Hi Jeff > -Original Message- > From: Guo, Jia > Sent: Thursday, July 30, 2020 5:12 PM > To: Sun, GuinanX ; Xing, Beilei > ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: Re: [PATCH] net/i40e: fix link status > > hi, guinan > > On 7/30/2020 4:25 PM, Guinan Sun wrote: > > The PF driver sup

[dpdk-dev] [PATCH] net/i40e: fix link status update

2018-05-29 Thread Fan Zhang
This patch fixes link status update problem in interrupt mode. Fixes: eef2daf2e199 ("net/i40e: fix link update no wait") Cc: sta...@dpdk.org Signed-off-by: Fan Zhang --- drivers/net/i40e/i40e_ethdev.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net

[dpdk-dev] [PATCH] net/i40e: fix link status update error

2018-05-09 Thread Beilei Xing
Link status is not updated correctly, link speed is 0 when link is up and link speed is not 0 when link is down. This patch fixes the issue. Fixes: eef2daf2e199 ("net/i40e: fix link update no wait") Cc: echau...@redhat.com Cc: sta...@dpdk.org Signed-off-by: Keith Wiles Signed-off-by: Beilei Xing

Re: [dpdk-dev] [PATCH] net/i40e: fix link status update

2018-05-29 Thread Thomas Monjalon
29/05/2018 18:23, Fan Zhang: > This patch fixes link status update problem in interrupt mode. Please describe what is the "problem". I think you need to insert the Bugzilla ID here. > Fixes: eef2daf2e199 ("net/i40e: fix link update no wait") > Cc: sta...@dpdk.org

Re: [dpdk-dev] [PATCH] net/i40e: fix link status update error

2018-05-09 Thread Zhang, Qi Z
> -Original Message- > From: Xing, Beilei > Sent: Thursday, May 10, 2018 10:26 AM > To: Zhang, Roy Fan ; Zhang, Qi Z > > Cc: dev@dpdk.org; echau...@redhat.com; sta...@dpdk.org; Wiles, Keith > > Subject: [PATCH] net/i40e: fix link status update error > > Link status is not updated correct