aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2024-09-23 23:22:41 +0200
committerPaolo Abeni <[email protected]>2024-10-01 10:48:51 +0200
commite8d4d34df715133c319fabcf63fdec684be75ff8 (patch)
treecffeb3608883c041a82159859b8c6f900127f9b4 /tools/perf/scripts/python/syscall-counts.py
parent6c24a03a61a245fe34d47582898331fa034b6ccd (diff)
net: Add netif_get_gro_max_size helper for GRO
Add a small netif_get_gro_max_size() helper which returns the maximum IPv4 or IPv6 GRO size of the netdevice. We later add a netif_get_gso_max_size() equivalent as well for GSO, so that these helpers can be used consistently instead of open-coded checks. Signed-off-by: Daniel Borkmann <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Paolo Abeni <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions