On 11/26, Lu, Wenzhuo wrote:
>Hi,
>
>> -Original Message-
>> From: Cui, LunyuanX
>> Sent: Wednesday, November 13, 2019 8:47 PM
>> To: dev@dpdk.org
>> Cc: Lu, Wenzhuo ; Yang, Qiming
>> ; Cui, LunyuanX ;
>> sta...@dpdk.org
>> Subject: [PATCH] net/e1000: fix link status
>>
>> The link status
Hi,
> -Original Message-
> From: Cui, LunyuanX
> Sent: Wednesday, November 13, 2019 8:47 PM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo ; Yang, Qiming
> ; Cui, LunyuanX ;
> sta...@dpdk.org
> Subject: [PATCH] net/e1000: fix link status
>
> The link status got from link status register was not cor
Hi,
> -Original Message-
> From: Cui, LunyuanX
> Sent: Thursday, November 14, 2019 1:33 AM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo ; Yang, Qiming
> ; Cui, LunyuanX ;
> sta...@dpdk.org
> Subject: [PATCH] net/e1000: fix link status update
>
> Unassigned variable should not be used as judgment,
Hi,
On 11/13, Cui LunyuanX wrote:
>Unassigned variable should not be used as judgment, and there
The issue here is link structure variable has been memset first, which makes it
meaningless to compare the value of link.link_status in the conditions.
>is no need to update link status according to
Unassigned variable should not be used as judgment, and there
is no need to update link status according to old link status.
This patch fix the issue.
Fixes: 80ba61115e77 ("net/e1000: use link status helper functions")
Cc: sta...@dpdk.org
Signed-off-by: Lunyuan Cui
---
drivers/net/e1000/em_ethd
The link status got from link status register was not correct,
because register has been reset when ports reset.
After port reset, set the link status down.
Fixes: c431ec66c54c ("net/igb: support setting link up or down")
Cc: sta...@dpdk.org
Signed-off-by: Lunyuan Cui
---
drivers/net/e1000/igb_
6 matches
Mail list logo