Re: [dpdk-dev] [PATCH] examples/flow_classify: fix failure in port_init function

2018-04-30 Thread Thomas Monjalon
30/04/2018 15:43, Bernard Iremonger: > 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: a9dbe1802226 ("fix ethdev port id validation") > Signed-off-by: Bernard

[dpdk-dev] [PATCH] examples/flow_classify: fix failure in port_init function

2018-04-30 Thread Bernard Iremonger
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: a9dbe1802226 ("fix ethdev port id validation") Signed-off-by: Bernard Iremonger --- examples/flow_classify/flow_class