Thread (8 messages) 8 messages, 3 authors, 2017-02-27

Re: [PATCH] net/ixgbevf: reset hardware when stopping port

From: Olivier Matz <hidden>
Date: 2017-02-06 13:59:03

Hi,

On Wed, 11 Jan 2017 17:52:04 +0100, Olivier Matz
[off-list ref] wrote:
From: Guo Fengtian <redacted>

When PF triggers a reset, VF port must acknowledge it by calling
ixgbe_reset_hw().

Before this patch, the port link status, speed and duplex are invalid
(all set to 0).

The patch move the call to ixgbe_reset_hw() from ixgbevf_dev_close()
to ixgbevf_dev_stop(), so that after a port restart on the VM, the
link status is properly marked down, with correct speed and duplex.

Fixes: f0160874c041 ("ixgbe: various updates")

CC: stable@dpdk.org
Signed-off-by: Guo Fengtian <redacted>
Signed-off-by: David Marchand <redacted>
Signed-off-by: Olivier Matz <redacted>
---

Hi,

The use case for this problem was described some time ago, see:
http://dpdk.org/ml/archives/dev/2015-December/030067.html

It is also part of 2.2 release note:
http://dpdk.org/browse/dpdk/tree/doc/guides/rel_notes/release_2_2.rst#n471

Regards,
Olivier
Ping


Thanks,
Olivier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help