mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-06 00:29:07 +08:00
net: add IFLA_TSO_{MAX_SIZE|SEGS} attributes
New netlink attributes IFLA_TSO_MAX_SIZE and IFLA_TSO_MAX_SEGS are used to report to user-space the device TSO limits. ip -d link sh dev eth1 ... tso_max_size 65536 tso_max_segs 65535 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:
committed by
Andrii Nakryiko
parent
4eb6485c08
commit
881eba7ef5
@@ -348,6 +348,8 @@ enum {
|
|||||||
IFLA_PARENT_DEV_NAME,
|
IFLA_PARENT_DEV_NAME,
|
||||||
IFLA_PARENT_DEV_BUS_NAME,
|
IFLA_PARENT_DEV_BUS_NAME,
|
||||||
IFLA_GRO_MAX_SIZE,
|
IFLA_GRO_MAX_SIZE,
|
||||||
|
IFLA_TSO_MAX_SIZE,
|
||||||
|
IFLA_TSO_MAX_SEGS,
|
||||||
|
|
||||||
__IFLA_MAX
|
__IFLA_MAX
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user