[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANn89iKc1DOdn=0H2O_CPd-d99p=YxDu4VbEQ_-wGhvJ+-MDmA@mail.gmail.com>
Date: Wed, 2 Feb 2022 20:45:22 -0800
From: Eric Dumazet <edumazet@...gle.com>
To: David Ahern <dsahern@...il.com>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
Stephen Hemminger <stephen@...workplumber.org>,
netdev <netdev@...r.kernel.org>, Coco Li <lixiaoyan@...gle.com>
Subject: Re: [PATCH iproute2] iplink: add gro_max_size attribute handling
On Wed, Feb 2, 2022 at 7:55 PM David Ahern <dsahern@...il.com> wrote:
>
> On 2/1/22 4:27 PM, Eric Dumazet wrote:
> > diff --git a/ip/ipaddress.c b/ip/ipaddress.c
> > index 4109d8bd2c43640bee40656c124ea6393d95a345..583c41a94a8ec964779c1e3a8305be80e43907e7 100644
> > --- a/ip/ipaddress.c
> > +++ b/ip/ipaddress.c
> > @@ -904,6 +904,11 @@ static int print_linkinfo_brief(FILE *fp, const char *name,
> > ifi->ifi_type,
> > b1, sizeof(b1)));
> > }
> > + if (tb[IFLA_GRO_MAX_SIZE])
> > + print_uint(PRINT_ANY,
> > + "gro_max_size",
> > + "gro_max_size %u ",
> > + rta_getattr_u32(tb[IFLA_GRO_MAX_SIZE]));
> > }
> >
> > if (filter.family == AF_PACKET) {
>
> gso_max_segs only shows in detail mode; this change prints it only for
> brief mode.
This is a rebase error, I will send a v2.
Powered by blists - more mailing lists