diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 649a0252686e..83ab3da149ad 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1381,17 +1381,20 @@ static inline int unregister_gifconf(unsigned int family) | |||
1381 | } | 1381 | } |
1382 | 1382 | ||
1383 | /* | 1383 | /* |
1384 | * Incoming packets are placed on per-cpu queues so that | 1384 | * Incoming packets are placed on per-cpu queues |
1385 | * no locking is needed. | ||
1386 | */ | 1385 | */ |
1387 | struct softnet_data { | 1386 | struct softnet_data { |
1388 | struct Qdisc *output_queue; | 1387 | struct Qdisc *output_queue; |
1389 | struct list_head poll_list; | 1388 | struct list_head poll_list; |
1390 | struct sk_buff *completion_queue; | 1389 | struct sk_buff *completion_queue; |
1391 | 1390 | ||
1392 | /* Elements below can be accessed between CPUs for RPS */ | ||
1393 | #ifdef CONFIG_RPS | 1391 | #ifdef CONFIG_RPS |
1392 | struct softnet_data *rps_ipi_list; | ||
1393 | |||
1394 | /* Elements below can be accessed between CPUs for RPS */ | ||
1394 | struct call_single_data csd ____cacheline_aligned_in_smp; | 1395 | struct call_single_data csd ____cacheline_aligned_in_smp; |
1396 | struct softnet_data *rps_ipi_next; | ||
1397 | unsigned int cpu; | ||
1395 | unsigned int input_queue_head; | 1398 | unsigned int input_queue_head; |
1396 | #endif | 1399 | #endif |
1397 | struct sk_buff_head input_pkt_queue; | 1400 | struct sk_buff_head input_pkt_queue; |