mbox series

[v2,net-next,0/8] net: rps: misc changes

Message ID 20240329154225.349288-1-edumazet@google.com (mailing list archive)
Headers show
Series net: rps: misc changes | expand

Message

Eric Dumazet March 29, 2024, 3:42 p.m. UTC
Make RPS/RFS a bit more efficient with better cache locality
and heuristics.

Aso shrink include/linux/netdevice.h a bit.

v2: fixed a build issue in patch 6/8 with CONFIG_RPS=n
    (Jakub and kernel build bots)

Eric Dumazet (8):
  net: move kick_defer_list_purge() to net/core/dev.h
  net: move dev_xmit_recursion() helpers to net/core/dev.h
  net: enqueue_to_backlog() change vs not running device
  net: make softnet_data.dropped an atomic_t
  net: enqueue_to_backlog() cleanup
  net: rps: change input_queue_tail_incr_save()
  net: rps: add rps_input_queue_head_add() helper
  net: rps: move received_rps field to a better location

 include/linux/netdevice.h | 38 ++------------------
 include/net/rps.h         | 28 +++++++++++++++
 net/core/dev.c            | 73 ++++++++++++++++++++++-----------------
 net/core/dev.h            | 23 ++++++++++--
 net/core/net-procfs.c     |  3 +-
 5 files changed, 95 insertions(+), 70 deletions(-)

Comments

Jason Xing March 30, 2024, 4:11 p.m. UTC | #1
On Fri, Mar 29, 2024 at 11:42 PM Eric Dumazet <edumazet@google.com> wrote:
>
> Make RPS/RFS a bit more efficient with better cache locality
> and heuristics.
>
> Aso shrink include/linux/netdevice.h a bit.
>
> v2: fixed a build issue in patch 6/8 with CONFIG_RPS=n
>     (Jakub and kernel build bots)
>
> Eric Dumazet (8):
>   net: move kick_defer_list_purge() to net/core/dev.h
>   net: move dev_xmit_recursion() helpers to net/core/dev.h
>   net: enqueue_to_backlog() change vs not running device
>   net: make softnet_data.dropped an atomic_t
>   net: enqueue_to_backlog() cleanup
>   net: rps: change input_queue_tail_incr_save()
>   net: rps: add rps_input_queue_head_add() helper
>   net: rps: move received_rps field to a better location
>
>  include/linux/netdevice.h | 38 ++------------------
>  include/net/rps.h         | 28 +++++++++++++++
>  net/core/dev.c            | 73 ++++++++++++++++++++++-----------------
>  net/core/dev.h            | 23 ++++++++++--
>  net/core/net-procfs.c     |  3 +-
>  5 files changed, 95 insertions(+), 70 deletions(-)

For this series, feel free to add:

Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>

Thanks!

>
> --
> 2.44.0.478.gd926399ef9-goog
>
>
Jakub Kicinski April 2, 2024, 4:31 a.m. UTC | #2
On Fri, 29 Mar 2024 15:42:17 +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.
> 
> v2: fixed a build issue in patch 6/8 with CONFIG_RPS=n
>     (Jakub and kernel build bots)

FTR already applied by DaveM last night.