netdev: Add function for getting the numa node id of netdev.
authorAlex Wang <alexw@nicira.com>
Wed, 11 Jun 2014 23:33:08 +0000 (16:33 -0700)
committerAlex Wang <alexw@nicira.com>
Fri, 12 Sep 2014 18:30:58 +0000 (11:30 -0700)
commit7dec44fe1ccdbdd1e42d373124625cb95089abff
tree84696dbcde3246753cdc698414dd308a54779950
parent9c7e020fd60baa98528bd202caeb9e908b036216
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>
lib/netdev-bsd.c
lib/netdev-dpdk.c
lib/netdev-dummy.c
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev-vport.c
lib/netdev.c
lib/netdev.h