On 10/27/2023 3:32 PM, David Marchand wrote:
> For virtual interfaces, like a veth or a tap used in OVS unit tests,
> plugging a af_xdp port on them results in an error level message:
> 
> dpdk|ERR|EAL: eal_parse_sysfs_value(): cannot open sysfs value
>       /sys/class/net/ovs-tap1/device/numa_node
> netdev_dpdk|INFO|Device 'net_af_xdptap1,iface=ovs-tap1' attached to DPDK
> 
> Avoid this error by checking if the sysfs file exists, like what is done
> in DPDK bus drivers using eal_parse_sysfs_value().
> 
> Fixes: 3d28387cbc48 ("net/af_xdp: parse NUMA node ID from sysfs")
> 
> Signed-off-by: David Marchand <david.march...@redhat.com>
>

Acked-by: Ferruh Yigit <ferruh.yi...@amd.com>

Applied to dpdk-next-net/main, thanks.

Reply via email to