[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201006200056.o62d6fecypqxzprp@lion.mk-sys.cz>
Date: Tue, 6 Oct 2020 22:00:56 +0200
From: Michal Kubecek <mkubecek@...e.cz>
To: Ido Schimmel <idosch@...sch.org>
Cc: Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
kernel-team@...com
Subject: Re: [PATCH ethtool-next v2 5/6] netlink: use policy dumping to check
if stats flag is supported
On Tue, Oct 06, 2020 at 10:39:13PM +0300, Ido Schimmel wrote:
> On Tue, Oct 06, 2020 at 08:04:24AM -0700, Jakub Kicinski wrote:
> > Older kernels don't support statistics, to avoid retries
> > make use of netlink policy dumps to figure out which
> > flags kernel actually supports.
>
> Thanks for working on this, Jakub.
>
> Michal, should I try something similar for the legacy flag we have been
> discussing earlier this week [1]?
>
> [1] https://lore.kernel.org/netdev/20201005074600.xkbomksbbuliuyft@lion.mk-sys.cz/#t
Yes, using the policy dump will be the way to go. I wanted to come with
something myself but we have a virtual conference this week and today
an urgent request took the spare time I had in the morning.
Michal
Powered by blists - more mailing lists