RE: [PATCH v3 net-next 3/5] net: enetc: update max chained Tx BD number for i.MX95 ENETC
From: Claudiu Manoil
Date: Tue Nov 12 2024 - 14:18:18 EST
> -----Original Message-----
> From: Wei Fang <wei.fang@xxxxxxx>
> Sent: Tuesday, November 12, 2024 11:15 AM
[...]
> Subject: [PATCH v3 net-next 3/5] net: enetc: update max chained Tx BD
> number for i.MX95 ENETC
>
> The max chained Tx BDs of latest ENETC (i.MX95 ENETC, rev 4.1) has been
> increased to 63, but since the range of MAX_SKB_FRAGS is 17~45, so for
> i.MX95 ENETC and later revision, it is better to set ENETC4_MAX_SKB_FRAGS
> to MAX_SKB_FRAGS.
>
> In addition, add max_frags in struct enetc_drvdata to indicate the max
> chained BDs supported by device. Because the max number of chained BDs
> supported by LS1028A and i.MX95 ENETC is different.
>
> Signed-off-by: Wei Fang <wei.fang@xxxxxxx>
> Reviewed-by: Frank Li <Frank.Li@xxxxxxx>
> ---
> v2:
> 1. Refine the commit message
> 2. Add Reviewed-by tag
> v3: no changes
> ---
Reviewed-by: Claudiu Manoil <claudiu.manoil@xxxxxxx>