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)
commitc70ce028e834f8e51306217dbdbd441d851c64d3
tree9480a5d565273726dc1c0d6d41a34f2e40d6b5b8
parent7d34fa75d3ee99a90ebb33c2917aa9152fb36a9c
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