numam-dpdk/app/test-pmd
Yong Liu 0a530f0d58 app/testpmd: fix incorrect port number check
testpmd parameter "nb-port" mean the number of forwarding port.
It's incorrect to use function port_id_is_invalid to check number of ports.

Fixes: edab33b1c0 ("app/testpmd: support port hotplug")

Signed-off-by: Yong Liu <yong.liu@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2015-03-11 15:59:56 +01:00
..
cmdline.c ixgbe: fix supported flow types 2015-03-10 16:44:54 +01:00
config.c tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
csumonly.c tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
flowgen.c tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
icmpecho.c net: change arp header struct declaration 2015-02-20 22:10:52 +01:00
ieee1588fwd.c tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
iofwd.c tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
macfwd-retry.c tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
macfwd.c tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
macswap.c tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
Makefile mk: fix build with shared pcap pmd 2014-12-16 23:35:31 +01:00
mempool_anon.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
mempool_osdep.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
parameters.c app/testpmd: fix incorrect port number check 2015-03-11 15:59:56 +01:00
rxonly.c tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
testpmd.c app/testpmd: stop forwarding when quitting 2015-03-10 16:22:44 +01:00
testpmd.h app/testpmd: check vlan filter configuration 2015-03-09 12:47:26 +01:00
txonly.c tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00