Files
ack-tegra/include/linux
Daniel Borkmann e8d4d34df7 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 <daniel@iogearbox.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20240923212242.15669-1-daniel@iogearbox.net
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-10-01 10:48:51 +02:00
..
…
…
…
…
…
…
…
…
…
…
2024-09-01 10:04:56 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-09-09 16:39:18 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-08-29 04:32:32 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-09-03 21:15:36 -07:00
…
…
…
…
…
…
…
…
…
…
…
2024-08-02 15:56:38 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-08-26 09:37:23 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-09-12 12:20:41 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-09-09 16:39:05 -07:00
…
…
…
…
…
…
…
…
…
…
…
2024-08-29 10:39:37 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-08-23 20:50:19 +02:00
…
…
…
…
…
…
…
…
…
2024-07-31 13:49:48 +01:00
…
2024-08-08 17:15:02 +02:00
…
…
…
…
…
…
…
…
2024-08-27 14:12:51 +02:00
…
…
…
…
…
…
…
…
2024-09-03 21:15:46 -07:00
…
…
…
2024-09-20 18:28:26 +03:00
…
2024-09-01 20:26:03 -07:00
…
…
2024-09-09 16:39:04 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-08-11 17:04:29 +01:00
2024-07-31 09:57:18 -07:00
…
…
…
2024-09-03 21:15:44 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-07-28 16:47:51 -06:00
…
…
2024-09-23 15:03:30 -04:00
…
…
2024-09-23 15:03:30 -04:00
…
2024-09-23 15:03:30 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-08-30 08:22:38 +02:00
…
…
2024-09-19 14:25:32 -05:00
2024-09-19 14:25:34 -05:00
…
…
2024-09-01 20:26:04 -07:00
…
…
2024-09-17 01:06:59 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-09-05 11:14:14 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-09-11 20:44:31 -07:00
…
…
…
…
…
…
2024-09-11 20:44:32 -07:00
…
…
…
…
…
…
…
…
…
…
2024-08-12 23:50:58 +05:30
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-09-22 11:19:35 -07:00
2024-08-06 13:42:40 +02:00
…
…
2024-09-12 12:20:39 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2024-09-09 16:39:04 -07:00
2024-09-01 20:25:43 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…