Subject: Re: [RFC PATCH net-next 0/7] NIC driver Rx ring ECN

From: Jakub Kicinski <[email-masked]>
Date: Wed, 11 Jan 2023 10:46:18 -0800

On Wed, 11 Jan 2023 14:34:20 +0000 [email-masked] wrote:
> Stats counters are incremented in ipv4 and ipv6 input processing,
> with results:
> 
>  $ nstat -sz *Congest*
>  #kernel
>  Ip6InCongestionPkts             0                  0.0
>  IpExtInCongestionPkts           148454             0.0
>  $ 

Do you have any reason to believe that it actually helps anything?
NAPI with typical budget of 64 is easily exhausted (you just need 
two TSO frames arriving at once with 1500 MTU).

Host level congestion is better detected using time / latency signals.
Timestamp the packet at the NIC and compare the Rx time to current time
when processing by the driver. 

Google search "Google Swift congestion control".