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>
This commit is contained in:
committed by
David S. Miller
parent
01c5f864e6
commit
024e9679a2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user