]> git.baikalelectronics.ru Git - kernel.git/commit
net/rtnetlink: add IFLA_GSO_MAX_SEGS and IFLA_GSO_MAX_SIZE attributes
authorEric Dumazet <edumazet@google.com>
Mon, 21 Mar 2016 16:55:10 +0000 (09:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Mar 2016 17:35:56 +0000 (13:35 -0400)
commit3f784d89d4fd13757eb9917e36154597103a25a6
tree9480a5d565273726dc1c0d6d41a34f2e40d6b5b8
parentf9a80e450e57b29bd11937677d0b8d8774546936
net/rtnetlink: add IFLA_GSO_MAX_SEGS and IFLA_GSO_MAX_SIZE attributes

It can be useful to report dev->gso_max_segs and dev->gso_max_size
so that "ip -d link" can display them to help debugging.

For the moment, these attributes are read-only.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Petri Gynther <pgynther@google.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_link.h
net/core/rtnetlink.c