diff options
author | Eric Dumazet <edumazet@google.com> | 2024-03-29 15:42:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-01 11:28:32 +0100 |
commit | c62fdf5b11ef12b89ac2450c25c12bffc3d924c5 (patch) | |
tree | d2e567fd8a48d2b68c7f8d6d9dbaedb99f9a2c1c /include/linux/netdevice.h | |
parent | 36b83ffcf209a2e6099dae1070df6a2001dfab27 (diff) |
net: rps: add rps_input_queue_head_add() helper
process_backlog() can batch increments of sd->input_queue_head,
saving some memory bandwidth.
Also add READ_ONCE()/WRITE_ONCE() annotations around
sd->input_queue_head accesses.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions