diff options
author | William Tu <u9012063@gmail.com> | 2020-01-03 17:13:25 -0800 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2020-01-18 01:42:22 +0100 |
commit | 105cf8df82f75d38b3afe1d7e1a4fe421f767ca2 (patch) | |
tree | b155280ae0a6e4da1d37904effabe64087b963d3 /Documentation/intro | |
parent | 29cf9c1b3b9c4574df4f579c74c4e6d9ebb6d279 (diff) | |
download | openvswitch-105cf8df82f75d38b3afe1d7e1a4fe421f767ca2.tar.gz |
netdev-linux: Detect numa node id.
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@gmail.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation/intro')
-rw-r--r-- | Documentation/intro/install/afxdp.rst | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/intro/install/afxdp.rst b/Documentation/intro/install/afxdp.rst index 15e3c918f..7b0736c96 100644 --- a/Documentation/intro/install/afxdp.rst +++ b/Documentation/intro/install/afxdp.rst @@ -327,7 +327,6 @@ Below is a script using namespaces and veth peer:: Limitations/Known Issues ------------------------ -#. Device's numa ID is always 0, need a way to find numa id from a netdev. #. No QoS support because AF_XDP netdev by-pass the Linux TC layer. A possible work-around is to use OpenFlow meter action. #. Most of the tests are done using i40e single port. Multiple ports and |