Skip to contentSkip to conversation

CONFIG_SMP should be CONFIG_RPS

PATCH In review Changli Gao 3 participants 3 messages Apr 13, 2010 – Apr 15, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CONFIG_SMP should be CONFIG_RPS

CONFIG_SMP should be CONFIG_RPS

CONFIG_SMP should be CONFIG_RPS

----

 include/linux/netdevice.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/netdevice.h +1 -1
index d1a21b5..0efb36e 100644
@@ -1331,7 +1331,7 @@ struct softnet_data {
 	struct sk_buff		*completion_queue;
 
 	/* Elements below can be accessed between CPUs for RPS */
-#ifdef CONFIG_SMP
+#ifdef CONFIG_RPS
 	struct call_single_data	csd ____cacheline_aligned_in_smp;
 #endif
 	struct sk_buff_head	input_pkt_queue;
#1 lore raw
Quoted 13 lines · Changli Gao

CONFIG_SMP should be CONFIG_RPS

CONFIG_SMP should be CONFIG_RPS

----

 include/linux/netdevice.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/netdevice.h +0 -0
index d1a21b5..0efb36e 100644

include/linux/netdevice.h struct softnet_data { · line 1337

Quoted 8 lines
include/linux/netdevice.h +1 -1
@@ -1331,7 +1331,7 @@ struct softnet_data {
 	struct sk_buff		*completion_queue;
 
 	/* Elements below can be accessed between CPUs for RPS */
-#ifdef CONFIG_SMP
+#ifdef CONFIG_RPS
 	struct call_single_data	csd ____cacheline_aligned_in_smp;
 #endif
 	struct sk_buff_head	input_pkt_queue;

Thanks Changli, this is part of RFS patches :)

maintainer
#2 lore raw

From: Eric Dumazet <[email protected]>
Date: Tue, 13 Apr 2010 08:59:07 +0200

Quoted 2 lines

Thanks Changli, this is part of RFS patches :)

I'll apply this, Tom has to respin RFS for other reasons already...