veth: enable BIG TCP packets
Set the TSO driver limit to GSO_MAX_SIZE (512 KB). This allows the admin/user to set a GSO limit up to this value. ip link set dev veth10 gso_max_size 200000 Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Alexander Duyck <alexanderduyck@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d6f938ce52
commit
d406099d6a
@ -1647,6 +1647,7 @@ static void veth_setup(struct net_device *dev)
|
||||
dev->hw_features = VETH_FEATURES;
|
||||
dev->hw_enc_features = VETH_FEATURES;
|
||||
dev->mpls_features = NETIF_F_HW_CSUM | NETIF_F_GSO_SOFTWARE;
|
||||
netif_set_tso_max_size(dev, GSO_MAX_SIZE);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user