[PATCH v2] net/cxgbe: track packets dropped by TP due to congestion

Ferruh Yigit ferruh.yigit at xilinx.com
Tue May 17 18:52:09 CEST 2022


On 5/6/2022 2:18 PM, Rahul Lakkireddy wrote:
> Transport Processor (TP) on the NIC delivers the incoming packets
> from the wire to NIC's DMA engine to place the packets in Rx buffers.
> TP sends signal towards the Multi-Port Switch (MPS) near the MAC when
> the Rxqs run out of Rx buffers posted by driver. These MPS buffer drop
> stats are already accounted for in imissed counters. However, if a
> large number of Rxqs run out of Rx buffers simultaneously, then the
> TP can start dropping packets by itself when there is heavy congestion
> on the channel and hence could not inform to the MPS. So, track these
> packets dropped by TP in imissed counters. Also add xstats for these
> counters.
> 
> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy at chelsio.com>

Applied to dpdk-next-net/main, thanks.



More information about the dev mailing list