[dpdk-dev] [PATCH] net/ixgbevf: reset hardware when stopping port
Olivier Matz
olivier.matz at 6wind.com
Mon Feb 6 14:58:57 CET 2017
Hi,
On Wed, 11 Jan 2017 17:52:04 +0100, Olivier Matz
<olivier.matz at 6wind.com> wrote:
> From: Guo Fengtian <fengtian.guo at 6wind.com>
>
> 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 at dpdk.org
> Signed-off-by: Guo Fengtian <fengtian.guo at 6wind.com>
> Signed-off-by: David Marchand <david.marchand at 6wind.com>
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> ---
>
> 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
More information about the dev
mailing list