* [PATCH] net: Kobj and queues_kset should be used when CONFIG_XPS is enabled
@ 2011-07-21 6:33 jhbird.choi
2011-07-22 4:34 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: jhbird.choi @ 2011-07-21 6:33 UTC (permalink / raw)
To: netdev, linux-kernel; +Cc: David S. Miller, Choi, Jong-Hwan
From: Choi, Jong-Hwan <jhbird.choi@samsung.com>
Kobj and queues_kset are used with CONFIG_XPS=y.
Signed-off-by: Choi, Jong-Hwan <jhbird.choi@samsung.com>
---
include/linux/netdevice.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 9e19477..8eb2f11 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -556,7 +556,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)
@@ -1214,7 +1214,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;
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: Kobj and queues_kset should be used when CONFIG_XPS is enabled
2011-07-21 6:33 [PATCH] net: Kobj and queues_kset should be used when CONFIG_XPS is enabled jhbird.choi
@ 2011-07-22 4:34 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-07-22 4:34 UTC (permalink / raw)
To: jhbird.choi; +Cc: netdev, linux-kernel
From: jhbird.choi@samsung.com
Date: Thu, 21 Jul 2011 15:33:03 +0900
> From: Choi, Jong-Hwan <jhbird.choi@samsung.com>
>
> Kobj and queues_kset are used with CONFIG_XPS=y.
>
> Signed-off-by: Choi, Jong-Hwan <jhbird.choi@samsung.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-22 4:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-21 6:33 [PATCH] net: Kobj and queues_kset should be used when CONFIG_XPS is enabled jhbird.choi
2011-07-22 4:34 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).