numam-dpdk/app/test-pmd
Matan Azrad 0e45c64d27 app/testpmd: fix invalid port detach
Using registration to all ports includes also the ports which should not
be used by the application.

It is nice to print each port event by testpmd but in case of RMV
event, testpmd tries to detach the port and this case is problematic
when the port should not be used by the application.

Check the port validation before detach API calling.

Fixes: 4fb82244b3 ("app/testpmd: extend event printing")

Signed-off-by: Matan Azrad <matan@mellanox.com>
2018-01-31 21:04:21 +01:00
..
cmdline_flow.c app/testpmd: support GENEVE pattern item in flow rules 2018-01-16 18:47:49 +01:00
cmdline_mtr.c app/testpmd: add commands for metering and policing 2018-01-10 00:51:31 +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: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cmdline_tm.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cmdline.c ethdev: increase flow type limit from 32 to 64 2018-01-21 15:51:52 +01:00
config.c app/testpmd: fix port validation 2018-01-31 20:58:29 +01:00
csumonly.c app/testpmd: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00
flowgen.c app/testpmd: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00
icmpecho.c app/testpmd: fix typos 2017-03-10 14:11:56 +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: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00
macswap.c app/testpmd: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00
Makefile mk: add experimental tag check 2018-01-29 23:35:29 +01:00
meson.build build: detect micro-arch on ARM 2018-01-30 21:59:00 +01:00
parameters.c app/testpmd: fix invalid Tx queue number setting 2018-01-17 18:49:38 +01:00
rxonly.c app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
testpmd.c app/testpmd: fix invalid port detach 2018-01-31 21:04:21 +01:00
testpmd.h app/testpmd: fix invalid Tx queue number setting 2018-01-17 18:49:38 +01:00
tm.c app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
txonly.c app/testpmd: cleanup internal Tx offloads flags field 2018-01-15 10:53:23 +01:00