Re: [PATCH] net-sysfs: export gso_max_size attribute

From: Solio Sarabia
Date: Mon Nov 27 2017 - 16:47:45 EST


On Fri, Nov 24, 2017 at 10:32:49AM -0800, Eric Dumazet wrote:
> On Fri, 2017-11-24 at 10:14 -0700, David Ahern wrote:
> >
> > This should be added to rtnetlink rather than sysfs.
>
> This is already exposed by rtnetlink [1]
>
> Please lets not add yet another net-sysfs knob.
>
> [1] c70ce028e834f8e51306217dbdbd441d851c64d3 net/rtnetlink: add IFLA_GSO_MAX_SEGS and IFLA_GSO_MAX_SIZE attributes

It's useful `ip -d a` reports these values. Thanks.

I had an old version (iproute2-ss151103). Based on changelog, it is
available since iproute2-ss161009.