This patch introduces gso_ipv4_max_size and gro_ipv4_max_size per device and adds netlink attributes for them, so that IPV4 BIG TCP can be guarded by a separate tunable in the next patch. To not break the old application using "gso/gro_max_size" for IPv4 GSO packets, this patch updates "gso/gro_ipv4_max_size" in netif_set_gso/gro_max_size() if the new size isn't greater than GSO_LEGACY_MAX_SIZE, so that nothing will change even if userspace doesn't realize the new netlink attributes.
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -374,6 +374,9 @@ enum { · 373 unmodified lines | |||
| 374 | 374 | ||
| 375 | IFLA_DEVLINK_PORT, | 375 | IFLA_DEVLINK_PORT, |
| 376 | 376 | ||
| 377 | IFLA_GSO_IPV4_MAX_SIZE, | ||
| 378 | IFLA_GRO_IPV4_MAX_SIZE, | ||
| 379 | |||
| 377 | __IFLA_MAX | 380 | __IFLA_MAX |
| 378 | }; | 381 | }; |
| 379 | 382 | ||