Go to file
Wei Hu (Xavier) 8f64f2846d net/hns3: fix checking enough Tx BDs
In .tx_pkt_burst ops implementation function of hns3 PMD driver,
there is one check whether there are enough BDs in the TX queue.
If not, driver will stop sending the packets.

Currently in the 'for' process loop, the next_to_use member of
TX queue is not updated in time after processing BDs of one packet,
which results in the invalid action of checking whether there are
enough BDs and failure in sending packets.

This patch fixes it by moving the assignment statment of the
next_to_use member of TX queue to the place after porcessing TX BDs
in the 'for' loop.

Fixes: bba6366983 ("net/hns3: support Rx/Tx and related operations")
Cc: stable@dpdk.org

Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.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 doc: update qede guide 2019-11-26 18:05:15 +01:00
drivers net/hns3: fix checking enough Tx BDs 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