git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: allocate tx queues in register_netdevice
[pandora-kernel.git]
/
include
/
linux
/
netdevice.h
diff --git
a/include/linux/netdevice.h
b/include/linux/netdevice.h
index
14fbb04
..
880d565
100644
(file)
--- a/
include/linux/netdevice.h
+++ b/
include/linux/netdevice.h
@@
-1696,8
+1696,8
@@
static inline int netif_is_multiqueue(const struct net_device *dev)
return dev->num_tx_queues > 1;
}
return dev->num_tx_queues > 1;
}
-extern
void
netif_set_real_num_tx_queues(struct net_device *dev,
-
unsigned int txq);
+extern
int
netif_set_real_num_tx_queues(struct net_device *dev,
+ unsigned int txq);
#ifdef CONFIG_RPS
extern int netif_set_real_num_rx_queues(struct net_device *dev,
#ifdef CONFIG_RPS
extern int netif_set_real_num_rx_queues(struct net_device *dev,