On Fri, Nov 14, 2025 at 1:19 PM Aditya Garg
<[email protected]> wrote:
>
> The MANA hardware supports a maximum of 30 scatter-gather entries (SGEs)
> per TX WQE. Exceeding this limit can cause TX failures.
> Add ndo_features_check() callback to validate SKB layout before
> transmission. For GSO SKBs that would exceed the hardware SGE limit, clear
> NETIF_F_GSO_MASK to enforce software segmentation in the stack.
> Add a fallback in mana_start_xmit() to linearize non-GSO SKBs that still
> exceed the SGE limit.
>
> Also, Add ethtool counter for SKBs linearized
>
> Co-developed-by: Dipayaan Roy <[email protected]>
> Signed-off-by: Dipayaan Roy <[email protected]>
> Signed-off-by: Aditya Garg <[email protected]>

Reviewed-by: Eric Dumazet <[email protected]>

Reply via email to