Function was added in 2.6.38 kernel commit:
commit
36909ea43814cba34f7c921e99cba33d770a54e1
Author: Tom Herbert <therbert@google.com>
Date: Sun Jan 9 19:36:31 2011 +0000
net: Add alloc_netdev_mqs function
Emulate it using alloc_netdev_mq(), newer kernels use
opposite emulation method :-)
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
#endif
+/* include/linux/netdevice.h */
+#define alloc_netdev_mqs(sizeof_priv, name, setup, txqs, rxqs) \
+ alloc_netdev_mq(sizeof_priv, name, setup, max(txqs, rxqs))
+
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)) */
#endif /* LINUX_26_38_COMPAT_H */