summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorAlexander Duyck2013-01-10 09:57:46 +0100
committerDavid S. Miller2013-01-11 07:47:04 +0100
commit024e9679a2daaa67642693366fb63a6b8c61b9f3 (patch)
tree2661a1d8f50699e508f7bb0fbe83c90bbd2de3d2 /include/linux/netdevice.h
parentnet: Rewrite netif_set_xps_queues to address several issues (diff)
downloadkernel-qcow2-linux-024e9679a2daaa67642693366fb63a6b8c61b9f3.tar.gz
kernel-qcow2-linux-024e9679a2daaa67642693366fb63a6b8c61b9f3.tar.xz
kernel-qcow2-linux-024e9679a2daaa67642693366fb63a6b8c61b9f3.zip
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)
}
#ifdef CONFIG_XPS
-extern void netif_reset_xps_queue(struct net_device *dev, u16 index);
extern int netif_set_xps_queue(struct net_device *dev, struct cpumask *mask,
u16 index);
#else