summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShenwei Wang <shenwei.wang@nxp.com>2025-09-10 21:52:06 +0300
committerJakub Kicinski <kuba@kernel.org>2025-09-15 00:20:01 +0300
commitec2a1681ed4f0aa74e15e4430e26afff514e4e19 (patch)
tree5485e9b9cf6609ca6fd44707963c44fedb73bf90 /tools/perf/scripts/python
parentd586676a2714176bed06cf70467c4e08ac2d4681 (diff)
downloadlinux-ec2a1681ed4f0aa74e15e4430e26afff514e4e19.tar.xz
net: fec: use a member variable for maximum buffer size
Refactor code to support Jumbo frame functionality by adding a member variable in the fec_enet_private structure to store PKT_MAXBUF_SIZE. Remove the OPT_FRAME_SIZE and define a new macro OPT_ARCH_HAS_MAX_FL to indicate architectures that support configurable maximum frame length. And update the MAX_FL register value to max_buf_size when OPT_ARCH_HAS_MAX_FL is defined as 1. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Wei Fang <wei.fang@nxp.com> Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com> Link: https://patch.msgid.link/20250910185211.721341-2-shenwei.wang@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions