Go to file
Matan Azrad 876b5d52a3 net/mlx5: fix Tx queue stop state
The Tx queue stop API doesn't call the PMD callback when the state of
the queue is stopped.
The drivers should update the state to be stopped when the queue stop
callback is done successfully or when the port is stopped.
The drivers should update the state to be started when the queue start
callback is done successfully or when the port is started.

The driver wrongly didn't update the state as started when the port
start callback was done which kept the state as stopped.
Following call to a queue stop API was not completed by ethdev layer
because the state is already stopped.

Move the state update from the Tx queue setup to the port start
callback.

Fixes: 161d103b23 ("net/mlx5: add queue start and stop")
Cc: stable@dpdk.org

Signed-off-by: Matan Azrad <matan@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2020-11-13 16:26:54 +01:00
.ci ci: reduce examples in static builds 2020-04-17 23:34:08 +02:00
app app/testpmd: revert max Rx packet length adjustment 2020-11-05 19:16:59 +01:00
buildtools pmdinfogen: fix build with gcc 11 2020-10-08 12:45:54 +02:00
config config: enable packet prefetching with Meson 2020-11-14 10:56:30 +01:00
devtools devtools: fix directory filter in forbidden token check 2020-11-13 09:35:04 +01:00
doc doc: describe the SWX pipeline type 2020-11-13 13:55:07 +01:00
drivers net/mlx5: fix Tx queue stop state 2020-11-13 16:26:54 +01:00
examples examples/qos_sched: fix usage string 2020-11-13 14:25:57 +01:00
kernel kni: move header file from EAL 2020-10-31 16:13:10 +01:00
lib gro: fix packet type detection with IPv6 tunnel 2020-11-14 10:56:30 +01:00
license license: remove dual prefix 2020-11-04 20:17:28 +01:00
usertools usertools: fix CPU layout script to be PEP8 compliant 2020-11-13 15:40:21 +01:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore regex/mlx5: introduce driver for BlueField 2 2020-07-21 19:04:05 +02:00
.travis.yml ci: add tests jobs in aarch64 vm 2020-09-30 21:52:54 +02:00
ABI_VERSION version: 20.11-rc0 2020-08-12 11:32:16 +02:00
MAINTAINERS maintainers: update for hns3 2020-11-03 23:35:06 +01:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt crypto/armv8: replace meson option with pkg-config support 2020-11-13 10:34:04 +01:00
meson.build examples: fix flattening directory layout on install 2020-11-12 19:33:06 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.11-rc3 2020-11-05 19:30:22 +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