[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240731173245.2968988d@kernel.org>
Date: Wed, 31 Jul 2024 17:32:45 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Petr Machata <petrm@...dia.com>
Cc: Stanislav Fomichev <sdf@...ichev.me>, <netdev@...r.kernel.org>,
<davem@...emloft.net>, <edumazet@...gle.com>, <pabeni@...hat.com>, Shuah
Khan <shuah@...nel.org>, "Joe Damato" <jdamato@...tly.com>,
<linux-kselftest@...r.kernel.org>
Subject: Re: [PATCH net-next v2 1/2] selftests: net-drv: exercise queue
stats when the device is down
On Wed, 31 Jul 2024 13:34:58 +0200 Petr Machata wrote:
> > + qstat = netfam.qstats_get({"ifindex": cfg.ifindex}, dump=True)
> > + except NlError as e:
> > + if e.error == 95:
>
> Could you do this as if e.error == errno.ENOTSUP?
just to be clear EOPNOTSUPP ..
Powered by blists - more mailing lists