[ovs-dev] [PATCHv5] netdev-linux: Detect numa node id.

Eelco Chaudron echaudro at redhat.com
Mon Oct 28 10:40:50 UTC 2019



On 23 Oct 2019, at 23:08, William Tu wrote:

> The patch detects the numa node id from the name of the netdev,
> by reading the '/sys/class/net/<devname>/device/numa_node'.
> If not available, ex: virtual device, or any error happens,
> return numa id 0.  Currently only the afxdp netdev type uses it,
> other linux netdev types are disabled due to no use case.
>
> Signed-off-by: William Tu <u9012063 at gmail.com>

LGTM,

Eelco

Acked-by: Eelco Chaudron <echaudro at redhat.com>



More information about the dev mailing list