Re: [dpdk-dev] [PATCH] ethdev: fix link status query

2018-04-10 Thread Ferruh Yigit
On 4/10/2018 9:29 AM, Thomas Monjalon wrote: > 10/04/2018 10:20, Nélio Laranjeiro: >> On Tue, Apr 10, 2018 at 09:16:31AM +0300, Shahaf Shuler wrote: >>> When application works with LSC interrupts the ethdev layer skips >>> the PMD callback and update according to the link status exists on >>> devic

Re: [dpdk-dev] [PATCH] ethdev: fix link status query

2018-04-10 Thread Thomas Monjalon
10/04/2018 10:20, Nélio Laranjeiro: > On Tue, Apr 10, 2018 at 09:16:31AM +0300, Shahaf Shuler wrote: > > When application works with LSC interrupts the ethdev layer skips > > the PMD callback and update according to the link status exists on > > device data. It is because it assumes the link status

Re: [dpdk-dev] [PATCH] ethdev: fix link status query

2018-04-10 Thread Nélio Laranjeiro
On Tue, Apr 10, 2018 at 09:16:31AM +0300, Shahaf Shuler wrote: > When application works with LSC interrupts the ethdev layer skips > the PMD callback and update according to the link status exists on > device data. It is because it assumes the link status on the device data > is the correct one sin

[dpdk-dev] [PATCH] ethdev: fix link status query

2018-04-09 Thread Shahaf Shuler
When application works with LSC interrupts the ethdev layer skips the PMD callback and update according to the link status exists on device data. It is because it assumes the link status on the device data is the correct one since any link change is processed by the application. As multiple PMDs i