On 4/22/25 5:36 PM, [email protected] wrote:
> From: Ilpo Järvinen <[email protected]>
> 
> Add newly acked pkts EWMA. When ACK thinning occurs, select
> between safer and unsafe cep delta in AccECN processing based
> on it. If the packets ACKed per ACK tends to be large, don't
> conservatively assume ACE field overflow.
> 
> Signed-off-by: Ilpo Järvinen <[email protected]>
> Signed-off-by: Chia-Yu Chang <[email protected]>
> ---
>  include/linux/tcp.h  |  1 +
>  net/ipv4/tcp.c       |  4 +++-
>  net/ipv4/tcp_input.c | 20 +++++++++++++++++++-
>  3 files changed, 23 insertions(+), 2 deletions(-)
> 
> diff --git a/include/linux/tcp.h b/include/linux/tcp.h
> index b93bf1785008..99ca0b8435c8 100644
> --- a/include/linux/tcp.h
> +++ b/include/linux/tcp.h
> @@ -315,6 +315,7 @@ struct tcp_sock {
>               est_ecnfield:2;/* ECN field for AccECN delivered estimates */
>       u32     app_limited;    /* limited until "delivered" reaches this val */
>       u64     accecn_opt_tstamp;      /* Last AccECN option sent timestamp */
> +     u16     pkts_acked_ewma;/* Pkts acked EWMA for AccECN cep heuristic */

It looks like this field is accessed only on the RX path and does not
belong to this cacheline group.

/P


Reply via email to