patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] Port of mlx5 can not start after setting link-down on dpdk-stable v17.11.2
@ 2018-05-31  9:47 Zijie Pan
  2018-06-02  4:42 ` Yuanhan Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Zijie Pan @ 2018-05-31  9:47 UTC (permalink / raw)
  To: stable; +Cc: yliu, david.marchand

Hi commit authors (and maintainers),

Please help to backport patches to fix following issue. 
Here are the steps of testpmd on dpdk-17.11.2:
testpmd> show port info 0

********************* Infos for port 0  *********************
MAC address: E4:1D:2D:E7:0C:FA
Driver name: net_mlx5
Connect to socket: 0
...

testpmd> set link-down port 0
testpmd> 
Port 0: LSC event

testpmd> port stop 0
Stopping ports...
Checking link statuses...
Done
testpmd> port start 0
PMD: net_mlx5: Forcing port 0 link to be up
Fail to start port 0
Please stop the ports first
Done
<== Fail to start the port.

Test is OK if using master of dpdk:
testpmd> set link-down port 0
testpmd> 
Port 0: LSC event

testpmd> port stop 0
Stopping ports...
Checking link statuses...
Done
testpmd> port start 0
Port 0: E4:1D:2D:E7:0C:FA
Checking link statuses...
Done
<== Port can start successfully.

This issue was introduced by following commits:
322e1ce net/mlx5: fix link state on device start
f1e3e97 net/mlx5: fix handling link status event

This issue was fixed with following commit from dpdk (master):
7ba5320 net/mlx5: fix link status behavior

The related patches should be ported into dpdk-stable v17.11.2.

Thanks,
Zijie

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-stable] Port of mlx5 can not start after setting link-down on dpdk-stable v17.11.2
  2018-05-31  9:47 [dpdk-stable] Port of mlx5 can not start after setting link-down on dpdk-stable v17.11.2 Zijie Pan
@ 2018-06-02  4:42 ` Yuanhan Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Yuanhan Liu @ 2018-06-02  4:42 UTC (permalink / raw)
  To: Zijie Pan; +Cc: stable, david.marchand, nelio.laranjeiro, Shahaf Shuler

Cc more people.

On Thu, May 31, 2018 at 05:47:37PM +0800, Zijie Pan wrote:
> Hi commit authors (and maintainers),
> 
> Please help to backport patches to fix following issue. 
> Here are the steps of testpmd on dpdk-17.11.2:
> testpmd> show port info 0
> 
> ********************* Infos for port 0  *********************
> MAC address: E4:1D:2D:E7:0C:FA
> Driver name: net_mlx5
> Connect to socket: 0
> ...
> 
> testpmd> set link-down port 0
> testpmd> 
> Port 0: LSC event
> 
> testpmd> port stop 0
> Stopping ports...
> Checking link statuses...
> Done
> testpmd> port start 0
> PMD: net_mlx5: Forcing port 0 link to be up
> Fail to start port 0
> Please stop the ports first
> Done
> <== Fail to start the port.
> 
> Test is OK if using master of dpdk:
> testpmd> set link-down port 0
> testpmd> 
> Port 0: LSC event
> 
> testpmd> port stop 0
> Stopping ports...
> Checking link statuses...
> Done
> testpmd> port start 0
> Port 0: E4:1D:2D:E7:0C:FA
> Checking link statuses...
> Done
> <== Port can start successfully.
> 
> This issue was introduced by following commits:
> 322e1ce net/mlx5: fix link state on device start
> f1e3e97 net/mlx5: fix handling link status event
> 
> This issue was fixed with following commit from dpdk (master):
> 7ba5320 net/mlx5: fix link status behavior

Hi,

Thank you for the reporting!

However, this commit won't be applied on latest 17.11 branch.

Nelio or Shahaf, mind to backport it before the end of next week? Please
also do the test. Thanks.

	--yliu

> 
> The related patches should be ported into dpdk-stable v17.11.2.
> 
> Thanks,
> Zijie

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-02  4:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-31  9:47 [dpdk-stable] Port of mlx5 can not start after setting link-down on dpdk-stable v17.11.2 Zijie Pan
2018-06-02  4:42 ` Yuanhan Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).