numam-dpdk/app
Lijun Ou 99e040d3ad app/testpmd: remove hardcoded descriptors limit
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>
2020-04-21 19:23:56 +02:00
..
pdump app/pdump: fix build with clang 2020-02-06 09:20:56 +01:00
proc-info app/procinfo: use strlcpy for copying string 2019-10-27 11:33:24 +01:00
test test/trace: add performance test cases 2020-04-23 15:40:04 +02:00
test-acl replace unused attributes 2020-04-16 18:30:58 +02:00
test-bbdev baseband/fpga_5gnr_fec: add configure function 2020-04-19 22:34:26 +02:00
test-cmdline replace unused attributes 2020-04-16 18:30:58 +02:00
test-compress-perf build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
test-crypto-perf replace unused attributes 2020-04-16 18:30:58 +02:00
test-eventdev replace always-inline attributes 2020-04-16 18:16:46 +02:00
test-fib build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
test-pipeline replace unused attributes 2020-04-16 18:30:58 +02:00
test-pmd app/testpmd: remove hardcoded descriptors limit 2020-04-21 19:23:56 +02:00
test-sad build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
Makefile app/test-fib: add in default build 2020-04-10 11:38:02 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00