diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-04-19 21:17:14 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-20 01:18:05 -0700 |
commit | e36fa2f7e92f25aab2e3d787dcfe3590817f19d3 (patch) | |
tree | b1bd60b14131dacc72a80efbd2f062935cc43e25 /include/linux/netdevice.h | |
parent | f5acb907dc24c3822f408211bad1cd6e5d0433cf (diff) | |
download | kernel_samsung_espresso10-e36fa2f7e92f25aab2e3d787dcfe3590817f19d3.zip kernel_samsung_espresso10-e36fa2f7e92f25aab2e3d787dcfe3590817f19d3.tar.gz kernel_samsung_espresso10-e36fa2f7e92f25aab2e3d787dcfe3590817f19d3.tar.bz2 |
rps: cleanups
struct softnet_data holds many queues, so consistent use "sd" name
instead of "queue" is better.
Adds a rps_ipi_queued() helper to cleanup enqueue_to_backlog()
Adds a _and_irq_disable suffix to net_rps_action() name, as David
suggested.
incr_input_queue_head() becomes input_queue_head_incr()
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | 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 83ab3da..3c5ed5f 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1401,10 +1401,10 @@ struct softnet_data { struct napi_struct backlog; }; -static inline void incr_input_queue_head(struct softnet_data *queue) +static inline void input_queue_head_incr(struct softnet_data *sd) { #ifdef CONFIG_RPS - queue->input_queue_head++; + sd->input_queue_head++; #endif } |