numam-dpdk/app/test-pmd
Qi Zhang 2f203d44ba app/testpmd: fix device configure with zero queue
Setup number of Rx & Tx queues to 0 at rte_eth_dev_configure means
take driver's default queue number, so if during a re-configuration
previous queue number will be overwrite, this is not expected when
we configure dcb. The patch fix it by re-configure device with the
original queue number.

Fixes: 3be82f5cc5 ("ethdev: support PMD-tuned Tx/Rx parameters")

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Remy Horton <remy.horton@intel.com>
2018-05-14 22:31:52 +01:00
..
bpf_cmd.c app/testpmd: add commands to load/unload BPF filters 2018-05-12 00:37:51 +02:00
bpf_cmd.h app/testpmd: add commands to load/unload BPF filters 2018-05-12 00:37:51 +02:00
cmdline_flow.c app/testpmd: fix weak RSS hash key for flow 2018-05-14 22:31:51 +01:00
cmdline_mtr.c app/testpmd: fix allocation check in MTR parsing 2018-01-31 23:34:47 +01:00
cmdline_mtr.h app/testpmd: add commands for metering and policing 2018-01-10 00:51:31 +01:00
cmdline_tm.c app/testpmd: add command to resume a TM node 2018-05-04 16:40:42 +02:00
cmdline_tm.h app/testpmd: add command to resume a TM node 2018-05-04 16:40:42 +02:00
cmdline.c app/testpmd: add commands to load/unload BPF filters 2018-05-12 00:37:51 +02:00
config.c app/testpmd: fix valid ports prints 2018-05-14 04:02:48 +02:00
csumonly.c app/testpmd: conserve offload flags of mbuf 2018-04-27 20:11:33 +02:00
flowgen.c app/testpmd: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00
icmpecho.c app/testpmd: use SPDX tags in 6WIND copyrighted files 2018-02-01 02:33:20 +01:00
ieee1588fwd.c app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
iofwd.c app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
macfwd.c app/testpmd: conserve offload flags of mbuf 2018-04-27 20:11:33 +02:00
macswap.c app/testpmd: conserve offload flags of mbuf 2018-04-27 20:11:33 +02:00
Makefile app/testpmd: add commands to load/unload BPF filters 2018-05-12 00:37:51 +02:00
meson.build app/testpmd: add commands to load/unload BPF filters 2018-05-12 00:37:51 +02:00
parameters.c app/testpmd: fix valid ports prints 2018-05-14 04:02:48 +02:00
rxonly.c app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
testpmd.c app/testpmd: fix device configure with zero queue 2018-05-14 22:31:52 +01:00
testpmd.h app/testpmd: fix synchronic port hotplug 2018-05-14 04:10:42 +02:00
tm.c app/testpmd: fix allocation check in TM config 2018-01-31 23:34:47 +01:00
txonly.c app/testpmd: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00