diff options
author | Wei Fang <wei.fang@nxp.com> | 2024-12-19 13:47:53 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-23 09:54:33 -0800 |
commit | 93c5d5a0ddf8ad39661a087edb45286a0a55f7e6 (patch) | |
tree | 7339e14a62f792260abde46998ba4d41d78534bb /tools/testing/selftests/net/lib/py/utils.py | |
parent | d9a093d2d12aec87ed0a2ac660b3a62261bef966 (diff) | |
download | linux-93c5d5a0ddf8ad39661a087edb45286a0a55f7e6.tar.gz linux-93c5d5a0ddf8ad39661a087edb45286a0a55f7e6.tar.bz2 linux-93c5d5a0ddf8ad39661a087edb45286a0a55f7e6.zip |
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@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241219054755.1615626-3-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions