27/03/2021 08:40, Min Hu (Connor):
> fix check of port and core in flow_classify example.
>
> Fixes: bab16ddaf2c1 ("examples/flow_classify: add sample application")
> Cc: [email protected]
>
> Signed-off-by: Min Hu (Connor) <[email protected]>
> ---
> RTE_ETH_FOREACH_DEV(port)
> - if (rte_eth_dev_socket_id(port) > 0 &&
> + if (rte_eth_dev_socket_id(port) >= 0 &&
> rte_eth_dev_socket_id(port) != (int)rte_socket_id()) {
> printf("\n\n");
> printf("WARNING: port %u is on remote NUMA node\n",
Please explain which case is broken and why.
If I understand well, we don't detect remote NUMA if not running on first
socket.