Re: [net] Octeontx2-pf: Fix Backpresure configuration

From: Simon Horman
Date: Tue Jun 17 2025 - 07:28:11 EST


On Tue, Jun 17, 2025 at 12:04:02PM +0530, Hariprasad Kelam wrote:
> NIX block can receive packets from multiple links such as
> MAC (RPM), LBK and CPT.
>
> -----------------
> RPM --| NIX |
> -----------------
> |
> |
> LBK
>
> Each link supports multiple channels for example RPM link supports
> 16 channels. In case of link oversubsribe, NIX will assert backpressure
> on receive channels.
>
> The previous patch considered a single channel per link, resulting in
> backpressure not being enabled on the remaining channels
>
> Fixes: a7ef63dbd588 ("octeontx2-af: Disable backpressure between CPT and NIX")
> Signed-off-by: Hariprasad Kelam <hkelam@xxxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>