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

2019-10-23 Thread William Tu
On Mon, Oct 21, 2019 at 03:18:51PM +0200, Ilya Maximets wrote: > On 17.10.2019 22:08, William Tu wrote: > >The patch detects the numa node id from the name of the netdev, > >by reading the '/sys/class/net//device/numa_node'. > >If not available, ex: virtual device, or any error happens, > >return

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

2019-10-21 Thread Ilya Maximets
On 17.10.2019 22:08, William Tu wrote: The patch detects the numa node id from the name of the netdev, by reading the '/sys/class/net//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

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

2019-10-17 Thread 0-day Robot
Bleep bloop. Greetings William Tu, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: WARNING: Line lacks whitespace around operator #108 FILE: lib/netdev-linux.c:1419:

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

2019-10-17 Thread William Tu
The patch detects the numa node id from the name of the netdev, by reading the '/sys/class/net//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.