Thread (13 messages) 13 messages, 3 authors, 2024-08-01

Re: [PATCH net-next v2 1/2] selftests: net-drv: exercise queue stats when the device is down

From: Stanislav Fomichev <sdf@fomichev.me>
Date: 2024-08-01 01:23:55
Also in: linux-kselftest

On 07/31, Jakub Kicinski wrote:
On Wed, 31 Jul 2024 13:34:58 +0200 Petr Machata wrote:
quoted
quoted
+        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 ..
That might be the reason it's coded explicitly as 95? :-D
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help