numam-dpdk/examples/flow_classify
Bernard Iremonger 211992f3b7 examples/flow_classify: fix validation in port init
The port_init function calls the rte_eth_dev_is_valid_port function.
This function now returns 1 if the port state is attached.
A return value of 1 now means a valid port.

Fixes: a9dbe18022 ("fix ethdev port id validation")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
2018-04-30 15:48:26 +02:00
..
flow_classify.c examples/flow_classify: fix validation in port init 2018-04-30 15:48:26 +02:00
ipv4_rules_file.txt examples/flow_classify: add sample application 2017-10-24 22:26:54 +02:00
Makefile examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00