netdev: support dumping a single netdev in qstats
authorJakub Kicinski <kuba@kernel.org>
Sat, 20 Apr 2024 02:35:39 +0000 (19:35 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 23 Apr 2024 17:09:49 +0000 (10:09 -0700)
commitce05d0f20368b583b43c99a7c8673e8a7187b76b
tree119194fdcdbefb1ffd19238c393e8bd72f3817b3
parent1af2dface5d286dd1f2f3405a0d6fa9f2c8fb998
netdev: support dumping a single netdev in qstats

Having to filter the right ifindex in the tests is a bit tedious.
Add support for dumping qstats for a single ifindex.

Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240420023543.3300306-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/netdev.yaml
net/core/netdev-genl-gen.c
net/core/netdev-genl.c