aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2013-01-10 03:57:46 -0500
committerDavid S. Miller <davem@davemloft.net>2013-01-11 01:47:04 -0500
commit024e9679a2daaa67642693366fb63a6b8c61b9f3 (patch)
tree2661a1d8f50699e508f7bb0fbe83c90bbd2de3d2 /include/linux/netdevice.h
parent01c5f864e62b1c1ee72fb492c6c5e47a162a507b (diff)
net: Add support for XPS without sysfs being defined
This patch makes it so that we can support transmit packet steering without sysfs needing to be enabled. The reason for making this change is to make it so that a driver can make use of the XPS even while the sysfs portion of the interface is not present. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 59fe9da4e315..aa7ad8a96e70 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -2104,7 +2104,6 @@ static inline void netif_wake_subqueue(struct net_device *dev, u16 queue_index)
2104} 2104}
2105 2105
2106#ifdef CONFIG_XPS 2106#ifdef CONFIG_XPS
2107extern void netif_reset_xps_queue(struct net_device *dev, u16 index);
2108extern int netif_set_xps_queue(struct net_device *dev, struct cpumask *mask, 2107extern int netif_set_xps_queue(struct net_device *dev, struct cpumask *mask,
2109 u16 index); 2108 u16 index);
2110#else 2109#else