mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
netdev: Add function for getting the numa node id of netdev.
This commit adds a new API to the 'struct netdev_class' which allows user to query the numa node id the 'netdev' is on. Currently, only netdev-dpdk module implements this function. Signed-off-by: Alex Wang <alexw@nicira.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
This commit is contained in:
@@ -2750,6 +2750,7 @@ netdev_linux_update_flags(struct netdev *netdev_, enum netdev_flags off,
|
||||
NULL, /* get_config */ \
|
||||
NULL, /* set_config */ \
|
||||
NULL, /* get_tunnel_config */ \
|
||||
NULL, /* get_numa_id */ \
|
||||
\
|
||||
netdev_linux_send, \
|
||||
netdev_linux_send_wait, \
|
||||
|
Reference in New Issue
Block a user