99e040d3ad
When users configure rxds and txds by used port config cmd based on testpmd application, it will not be able to configure rxd and txd according to the max capability range supported by the actual NIC hardware. Due testpmd defects, it can only configure a fixed range to 0 to 2048. The final result is that an incorrect printing prompt appears and cannot be applied using rxd && txd according to the actual capabilities supported by the device. In order to solve the above problems, we modify the testpmd. First by calling the rte_eth_dev_info_get api to obtain the max and min rx/tx capability supported by the hns3, and then use this range to compare with the actual value by users configured and make reasonable limitation. Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com> |
||
---|---|---|
.ci | ||
app | ||
buildtools | ||
config | ||
devtools | ||
doc | ||
drivers | ||
examples | ||
kernel | ||
lib | ||
license | ||
mk | ||
usertools | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
ABI_VERSION | ||
GNUmakefile | ||
MAINTAINERS | ||
Makefile | ||
meson_options.txt | ||
meson.build | ||
README | ||
VERSION |
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