> The get/set_rxfh ethtool ops currently takes the rxfh (RSS) parameters
> as direct function arguments. This will force us to change the API (and
> all drivers' functions) every time some new parameters are added.
>
> This is part 1/2 of the fix, as suggested in [1]:
>
> - First simplify the c
> -Original Message-
> From: Przemek Kitszel
> Sent: Thursday, October 26, 2023 12:24 PM
> To: Justin Stitt ; David S. Miller
> ; Eric Dumazet ; Jakub
> Kicinski ; Paolo Abeni ; Agroskin, Shay
> ; Kiyanovski, Arthur ; Arinzon,
> David ; Dagan, Noam ;
>
> -Original Message-
> From: Justin Stitt
> Sent: Thursday, November 2, 2023 8:56 PM
> To: David S. Miller ; Eric Dumazet
> ; Jakub Kicinski ; Paolo Abeni
> ; Agroskin, Shay ; Kiyanovski,
> Arthur ; Arinzon, David ;
> Dagan, Noam ; Bshara, Saeed
> ; Rasesh
> -Original Message-
> From: Caleb Sander Mateos
> Sent: Wednesday, October 30, 2024 5:23 PM
>
> net_dim() is currently passed a struct dim_sample argument by value.
> struct dim_sample is 24 bytes. Since this is greater 16 bytes, x86-64 passes
> it
> on the stack. All callers have alrea
On 10/30/24 17:23, Caleb Sander Mateos wrote:
> Make the start and end arguments to dim_calc_stats() const pointers to
> clarify that the function does not modify their values.
>
> Signed-off-by: Caleb Sander Mateos
Reviewed-by: Arthur Kiyanovski
Thanks,
Arthur