numam-dpdk/app/test-pmd
Wei Zhao 74453ac9ef app/testpmd: fix queue offload configuration
When adding offloads from commandline, not only port
related configuration bits should be set, but also queue
related offloads configuration bits, or it will cause error.
For example, test in this process for ixgbe:
(1)./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n 4
-- -i --portmask=0x1 --port-topology=loop --disable-crc-strip
(2)port stop all
(3)port config all crc-strip on
(4)port start all
we will see "Fail to configure port 0 rx queues" of warning info.

Fixes: 0074d02fca ("app/testpmd: convert to new Rx offloads API")
Cc: stable@dpdk.org

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
2019-07-05 01:52:02 +02:00
..
bpf_cmd.c bpf: add extra information for external symbol definitions 2018-07-12 09:37:16 +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 parsing RSS queue rule 2019-07-05 01:52:02 +02:00
cmdline_mtr.c meter: replace color definitions 2019-04-11 14:27:32 +02:00
cmdline_mtr.h app/testpmd: add commands for metering and policing 2018-01-10 00:51:31 +01:00
cmdline_tm.c meter: replace color definitions 2019-04-11 14:27:32 +02:00
cmdline_tm.h app/testpmd: add TM commands to mark packets 2018-10-08 17:53:03 +02:00
cmdline.c app/testpmd: fix queue offload configuration 2019-07-05 01:52:02 +02:00
config.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
csumonly.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
flowgen.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
icmpecho.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
ieee1588fwd.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
iofwd.c app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
macfwd.c net: add rte prefix to IP structure 2019-05-24 13:34:46 +02:00
macswap_common.h net: add rte prefix to IP structure 2019-05-24 13:34:46 +02:00
macswap_neon.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
macswap_sse.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
macswap.c app/testpmd: optimize MAC swap for Arm 2019-03-20 18:15:42 +01:00
macswap.h net: add rte prefix to ether functions 2019-05-24 13:34:45 +02:00
Makefile mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
meson.build build: add dependency on telemetry to apps with meson 2018-10-27 15:21:33 +02:00
noisy_vnf.c app/testpmd: add noisy neighbour forwarding mode 2018-10-11 18:56:02 +02:00
parameters.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
rxonly.c app/testpmd: add packet dump callbacks 2018-10-18 10:24:39 +02:00
softnicfwd.c app/testpmd: fix memory leak for TM object 2018-11-12 17:45:31 +01:00
testpmd.c app/testpmd: fix offloads config 2019-07-03 12:57:30 +02:00
testpmd.h net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
txonly.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
util.c net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00