Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: ifb: support BIG TCP packets

Set the driver limit to GSO_MAX_SIZE (512 KB).

This allows the admin/user to set a GSO limit up to this value, to
avoid segmenting too large GRO packets in the netem -> ifb path.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250701084540.459261-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Eric Dumazet and committed by
Jakub Kicinski
7d2dabaa 7945fe48

+1
+1
drivers/net/ifb.c
··· 333 333 334 334 dev->min_mtu = 0; 335 335 dev->max_mtu = 0; 336 + netif_set_tso_max_size(dev, GSO_MAX_SIZE); 336 337 } 337 338 338 339 static netdev_tx_t ifb_xmit(struct sk_buff *skb, struct net_device *dev)