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

2020-08-30 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Xing, Beilei > Sent: Thursday, August 6, 2020 6:08 PM > To: Sun, GuinanX ; dev@dpdk.org > Cc: Guo, Jia ; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3] net/i40e: fix link status > > > > > -Or

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

2020-08-06 Thread Jeff Guo
On 8/6/2020 6:08 PM, Xing, Beilei wrote: -Original Message- From: Sun, GuinanX Sent: Thursday, August 6, 2020 4:17 PM To: dev@dpdk.org Cc: Xing, Beilei ; Guo, Jia ; Sun, GuinanX ; sta...@dpdk.org Subject: [PATCH v3] net/i40e: fix link status If the PF driver supports the new speed r

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

2020-08-06 Thread Xing, Beilei
> -Original Message- > From: Sun, GuinanX > Sent: Thursday, August 6, 2020 4:17 PM > To: dev@dpdk.org > Cc: Xing, Beilei ; Guo, Jia ; Sun, > GuinanX ; sta...@dpdk.org > Subject: [PATCH v3] net/i40e: fix link status > > If the PF driver supports the new speed reporting capabilities then

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

2020-08-06 Thread Wang, ShougangX
Tested-by: Shougang Wang Thanks. Shougang > -Original Message- > From: dev On Behalf Of Guinan Sun > Sent: Thursday, August 6, 2020 4:17 PM > To: dev@dpdk.org > Cc: Xing, Beilei ; Guo, Jia ; Sun, > GuinanX ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v3] net/

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

2020-08-06 Thread Guinan Sun
If the PF driver supports the new speed reporting capabilities then use link_event_adv instead of link_event to get the speed. Fixes: 2a73125b7041 ("i40evf: fix link info update") Cc: sta...@dpdk.org Signed-off-by: Guinan Sun --- v3: * request the capability for i40evf v2: * modify commit log *

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

2018-05-30 Thread Thomas Monjalon
> > This patch fixes link status update problem in interrupt mode. > > Previously, directly reading link status register instead of accessing via > > admin > > queue command may cause the link status change interrupt callback inactive. > > This patch fixes the problem by making the driver only rea

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

2018-05-30 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] > Sent: Wednesday, May 30, 2018 9:31 AM > To: dev@dpdk.org > Cc: Zhang, Helin ; Zhang, Roy Fan > ; Zhang, Qi Z ; > sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v3] net/i40e: fix link status update &g

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

2018-05-30 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Roy Fan > Sent: Wednesday, May 30, 2018 4:31 PM > To: dev@dpdk.org > Cc: Zhang, Helin ; Zhang, Roy Fan > ; Zhang, Qi Z ; > sta...@dpdk.org > Subject: [PATCH v3] net/i40e: fix link status update > > This patch fixes link status update problem in interrupt

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

2018-05-30 Thread Fan Zhang
This patch fixes link status update problem in interrupt mode. Previously, directly reading link status register instead of accessing via admin queue command may cause the link status change interrupt callback inactive. This patch fixes the problem by making the driver only read the register in "no