aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c04ca246395..40d4c20d034 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1388,6 +1388,7 @@ struct softnet_data {
1388 struct Qdisc **output_queue_tailp; 1388 struct Qdisc **output_queue_tailp;
1389 struct list_head poll_list; 1389 struct list_head poll_list;
1390 struct sk_buff *completion_queue; 1390 struct sk_buff *completion_queue;
1391 struct sk_buff_head process_queue;
1391 1392
1392#ifdef CONFIG_RPS 1393#ifdef CONFIG_RPS
1393 struct softnet_data *rps_ipi_list; 1394 struct softnet_data *rps_ipi_list;
@@ -1402,10 +1403,11 @@ struct softnet_data {
1402 struct napi_struct backlog; 1403 struct napi_struct backlog;
1403}; 1404};
1404 1405
1405static inline void input_queue_head_incr(struct softnet_data *sd) 1406static inline void input_queue_head_add(struct softnet_data *sd,
1407 unsigned int len)
1406{ 1408{
1407#ifdef CONFIG_RPS 1409#ifdef CONFIG_RPS
1408 sd->input_queue_head++; 1410 sd->input_queue_head += len;
1409#endif 1411#endif
1410} 1412}
1411 1413