Go to file
Shahaf Shuler e313ef4c2f net/mlx5: fix link state on device start
Following commit c7bf62255e ("net/mlx5: fix handling link status event")
the link state must be up in order for the burst function to be set on
the device ops.

As the link may take time to move between down and up state it is
possible the rte_eth_dev_start call will return with wrong burst
function (either null or the empty burst function).

Fixing it by forcing the link to be up before returning from device
start. In case the link is still not up after 5 seconds fail the function.
In addition initialize the burst function on device probe to prevent
crashes before the link is up.

Fixes: c7bf62255e ("net/mlx5: fix handling link status event")
Cc: stable@dpdk.org

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
2018-01-29 10:04:28 +01:00
app app/crypto-perf: fix out-of-bounds array access 2018-01-29 20:22:33 +01:00
buildtools buildtools: add script to check experimental API exports 2018-01-29 22:44:00 +01:00
config bus/fslmc: register platform HW mempool on runtime 2018-01-29 19:02:05 +01:00
devtools bb/turbo_sw: add software turbo driver 2018-01-19 01:44:25 +01:00
doc doc: add i40e queue region support to release notes 2018-01-29 10:04:28 +01:00
drivers net/mlx5: fix link state on device start 2018-01-29 10:04:28 +01:00
examples examples/flow_filtering: fix port id size 2018-01-29 10:04:28 +01:00
lib ethdev: move internal callback list definition 2018-01-29 10:04:28 +01:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk mk: add experimental tag check 2018-01-29 23:35:29 +01:00
pkg version: 17.11.0 2017-11-15 19:00:28 +01:00
test test/crypto: improve NULL authentication validation 2018-01-29 20:22:33 +01:00
usertools tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore devtools: add tags and cscope index generation 2017-04-30 12:57:04 +02:00
GNUmakefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
MAINTAINERS maintainers: update for cryptodev 2018-01-30 00:20:31 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +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