numam-dpdk/app/test-pmd
Thomas Monjalon 3f4a837047 app/testpmd: allow detaching a port not closed
The testpmd application aim is for testing;
so order of operations should not be enforced.

There was a test to forbid detaching before closing a port.
However, it may interesting to test what happens in such case.
It is possible for a PMD to automatically close the port when detaching.

in order to avoid a crash, it is checked that the port must be stopped
before detaching (as for closing).

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
2018-10-26 22:14:05 +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: add commands to modify MAC address 2018-10-18 10:24:39 +02:00
cmdline_mtr.c app/testpmd: fix metering and policing commands 2018-10-08 17:52:48 +02: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 TM commands to mark packets 2018-10-08 17:53:03 +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: add TM commands to mark packets 2018-10-08 17:53:03 +02:00
config.c app/testpmd: set packet dump based on verbosity level 2018-10-18 10:24:39 +02:00
csumonly.c app/testpmd: collect bad outer L4 checksum for csum engine 2018-10-11 18:53:49 +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 mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
meson.build app/testpmd: move dumping packets to a separate function 2018-10-18 10:24:39 +02:00
noisy_vnf.c app/testpmd: add noisy neighbour forwarding mode 2018-10-11 18:56:02 +02:00
parameters.c app/testpmd: reserve NUMA node per port and per ring 2018-10-26 22:14:05 +02:00
rxonly.c app/testpmd: add packet dump callbacks 2018-10-18 10:24:39 +02:00
softnicfwd.c app/testpmd: remove logically dead code 2018-07-26 18:58:33 +02:00
testpmd.c app/testpmd: allow detaching a port not closed 2018-10-26 22:14:05 +02:00
testpmd.h app/testpmd: set packet dump based on verbosity level 2018-10-18 10:24:39 +02:00
txonly.c app/testpmd: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00
util.c app/testpmd: add packet dump callbacks 2018-10-18 10:24:39 +02:00