|
@@ -530,7 +530,7 @@ struct netdev_queue {
|
|
|
struct Qdisc *qdisc;
|
|
|
unsigned long state;
|
|
|
struct Qdisc *qdisc_sleeping;
|
|
|
-#ifdef CONFIG_RPS
|
|
|
+#if defined(CONFIG_RPS) || defined(CONFIG_XPS)
|
|
|
struct kobject kobj;
|
|
|
#endif
|
|
|
#if defined(CONFIG_XPS) && defined(CONFIG_NUMA)
|
|
@@ -1179,7 +1179,7 @@ struct net_device {
|
|
|
|
|
|
unsigned char broadcast[MAX_ADDR_LEN]; /* hw bcast add */
|
|
|
|
|
|
-#ifdef CONFIG_RPS
|
|
|
+#if defined(CONFIG_RPS) || defined(CONFIG_XPS)
|
|
|
struct kset *queues_kset;
|
|
|
|
|
|
struct netdev_rx_queue *_rx;
|