Message ID | 20240328170309.2172584-1-edumazet@google.com (mailing list archive) |
---|---|
Headers | show |
Series | net: rps: misc changes | expand |
On Thu, 28 Mar 2024 17:03:01 +0000 Eric Dumazet wrote: > Make RPS/RFS a bit more efficient with better cache locality > and heuristics. > > Aso shrink include/linux/netdevice.h a bit. Looks like it breaks kunit build: ../net/core/dev.c: In function ‘enqueue_to_backlog’: ../net/core/dev.c:4829:24: error: implicit declaration of function ‘rps_input_queue_tail_incr’ [-Werror=implicit-function-declaration] 4829 | tail = rps_input_queue_tail_incr(sd); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../net/core/dev.c:4833:17: error: implicit declaration of function ‘rps_input_queue_tail_save’ [-Werror=implicit-function-declaration] 4833 | rps_input_queue_tail_save(qtail, tail); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../net/core/dev.c: In function ‘flush_backlog’: ../net/core/dev.c:5911:25: error: implicit declaration of function ‘rps_input_queue_head_incr’ [-Werror=implicit-function-declaration] 5911 | rps_input_queue_head_incr(sd); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../net/core/dev.c: In function ‘process_backlog’: ../net/core/dev.c:6049:33: error: implicit declaration of function ‘rps_input_queue_head_add’ [-Werror=implicit-function-declaration] 6049 | rps_input_queue_head_add(sd, work); | ^~~~~~~~~~~~~~~~~~~~~~~~
On Fri, Mar 29, 2024 at 6:45 AM Jakub Kicinski <kuba@kernel.org> wrote: > > On Thu, 28 Mar 2024 17:03:01 +0000 Eric Dumazet wrote: > > Make RPS/RFS a bit more efficient with better cache locality > > and heuristics. > > > > Aso shrink include/linux/netdevice.h a bit. > > Looks like it breaks kunit build: > > ../net/core/dev.c: In function ‘enqueue_to_backlog’: > ../net/core/dev.c:4829:24: error: implicit declaration of function ‘rps_input_queue_tail_incr’ [-Werror=implicit-function-declaration] > 4829 | tail = rps_input_queue_tail_incr(sd); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > ../net/core/dev.c:4833:17: error: implicit declaration of function ‘rps_input_queue_tail_save’ [-Werror=implicit-function-declaration] > 4833 | rps_input_queue_tail_save(qtail, tail); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > ../net/core/dev.c: In function ‘flush_backlog’: > ../net/core/dev.c:5911:25: error: implicit declaration of function ‘rps_input_queue_head_incr’ [-Werror=implicit-function-declaration] > 5911 | rps_input_queue_head_incr(sd); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > ../net/core/dev.c: In function ‘process_backlog’: > ../net/core/dev.c:6049:33: error: implicit declaration of function ‘rps_input_queue_head_add’ [-Werror=implicit-function-declaration] > 6049 | rps_input_queue_head_add(sd, work); > | ^~~~~~~~~~~~~~~~~~~~~~~~ Oh right, I need to define rps_input_queue_tail_incr() and friends outside of the #ifdef CONFIG_RPS