Go to file
Julien Meunier 04018a4552 net/fm10k: fix internal switch initial status
sm_down is a boolean in order to check if the internal switch of the
fm10k is up or down. This variable is configured though an interrupt by
fm10k_dev_interrupt_handler_pf.

If sm_down is uninitialized, we are not sure of its value at the first
bring up. For example, if FM10K_EICR_SWITCHREADY is raised, the PMD will
try to reconfigure the switch, but it does not make sense, as it's the
first startup.

The sm_down implementation has been introduced
commit 6c9f372455 ("net/fm10k: support switch restart on PF").

Fixes: 6f22f2f672 ("net/fm10k: redefine link status semantics")
Cc: stable@dpdk.org

Signed-off-by: Julien Meunier <julien.meunier@nokia.com>
Acked-by: Xiao Wang <xiao.w.wang@intel.com>
2019-01-14 17:44:29 +01:00
app app/bbdev: fix return value check 2019-01-10 16:57:22 +01:00
buildtools mk: allow renaming of build directories 2018-11-14 01:46:00 +01:00
config config: remove NFP PMD from 32-bit builds 2019-01-14 20:07:18 +01:00
devtools devtools: fix build check for whether meson has run 2019-01-14 12:24:57 +01:00
doc mk: fix scope of disabling AVX512F support 2019-01-14 17:27:48 +01:00
drivers net/fm10k: fix internal switch initial status 2019-01-14 17:44:29 +01:00
examples examples/ipsec-secgw: add scripts for functional test 2019-01-10 16:57:22 +01:00
kernel kni: fix build on RHEL8 for arm and Power9 2019-01-14 14:33:04 +01:00
lib vhost/crypto: fix possible out of bound access 2019-01-14 17:44:29 +01:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk mk: fix scope of disabling AVX512F support 2019-01-14 17:27:48 +01:00
test mbuf: remove deprecated macro 2019-01-14 16:37:36 +01:00
usertools usertools: skip empty categories in devices status 2018-11-23 01:43:20 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00
GNUmakefile move kernel modules directories 2018-03-21 23:04:21 +01:00
MAINTAINERS maintainers: claim maintainership of hash library 2019-01-14 13:09:36 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: add option to override drivers install directory 2018-10-27 23:22:21 +02:00
meson.build build: use static deps for pkg-config libs.private 2019-01-14 12:24:57 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +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