numam-dpdk/drivers/net/fm10k
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
..
base net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
fm10k_ethdev.c net/fm10k: fix internal switch initial status 2019-01-14 17:44:29 +01:00
fm10k_logs.h net/fm10k: implement dynamic logging 2018-01-16 18:47:49 +01:00
fm10k_rxtx_vec.c net/fm10k: convert to new Tx offloads API 2018-04-14 00:40:21 +02:00
fm10k_rxtx.c drivers/net: fix several Tx prepare functions 2018-12-13 17:53:50 +00:00
fm10k.h net/fm10k: remove unused constant 2018-07-04 21:50:27 +02:00
Makefile drivers/net: fix icc deprecated parameter warning 2018-04-14 00:43:30 +02:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_pmd_fm10k_version.map fm10k: move to drivers/net/ 2015-05-22 16:06:22 +02:00