Go to file
Lunyuan Cui c3f2fbff78 net/ixgbe: fix link status
The link status for 82599eb got from link status register was not
correct. Check the enable/disable flag of tx laser, set the link
status down if tx laser disabled. Then, we can get correct status.
But after port reset, tx laser register will be reset enable.
Link status will always be up. So set tx laser disable when port resets.

When hw->mac.autotry_restart is true, whether tx laser is disable or
enable, it will be set enable in ixgbe_flap_tx_laser_multispeed_fiber().
hw->mac.autotry_restart can be set true in both port init and port start.
Because we don't need this treatment before port starts, set
hw->mac.autotry_restart false when port init.

Fixes: 0408f47ba4 ("net/ixgbe: fix busy polling while fiber link update")
Cc: stable@dpdk.org

Signed-off-by: Lunyuan Cui <lunyuanx.cui@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
2019-11-26 18:05:15 +01:00
.ci ci: add 32-bit travis builds 2019-11-19 22:23:31 +01:00
app app/testpmd: use better randomness for Tx split 2019-11-26 18:05:15 +01:00
buildtools buildtools: fix build with coverage 2019-11-26 09:04:36 +01:00
config remove blank lines at end of file 2019-11-26 00:12:08 +01:00
devtools app/testpmd: reduce memory consumption 2019-11-26 18:05:15 +01:00
doc ethdev: remove deprecation notice about RSS hash flag 2019-11-26 18:05:15 +01:00
drivers net/ixgbe: fix link status 2019-11-26 18:05:15 +01:00
examples examples/ioat: fix possible null dereference 2019-11-26 17:26:08 +01:00
kernel kni: increase kernel version requirement for VA 2019-11-21 00:18:02 +01:00
lib eal: fix header file install with meson 2019-11-26 17:39:38 +01:00
license remove blank lines at end of file 2019-11-26 00:12:08 +01:00
mk mk: remove library search path from binary 2019-11-25 23:51:52 +01:00
usertools usertools: fix telemetry client with python 3 2019-10-27 21:38:40 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: fix missing asymmetric crypto table 2019-04-18 16:01:28 +02:00
.travis.yml ci: add 32-bit travis builds 2019-11-19 22:23:31 +01:00
ABI_VERSION build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS buildtools: add ABI version check script 2019-11-20 23:05:39 +01:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
meson.build build: fix Windows build 2019-11-25 15:07:02 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 19.11-rc3 2019-11-21 00:56:30 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org