public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 net-next 0/4] net/sched: tc_dump_qdisc() optimizations
@ 2026-04-30  2:36 Eric Dumazet
  2026-04-30  2:36 ` [PATCH v3 net-next 1/4] net/sched: propagate tc_fill_tclass() error Eric Dumazet
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Eric Dumazet @ 2026-04-30  2:36 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni
  Cc: Simon Horman, Jamal Hadi Salim, Jiri Pirko, netdev, eric.dumazet,
	Eric Dumazet

Before converting tc_dump_qdisc() to RCU, we make the following changes:

- Use for_each_netdev_dump() instead of for_each_netdev()

- Only dump qdiscs of a single device at user space request.

v2 and v3: addressed Jakub feedback (thanks!)

Eric Dumazet (4):
  net/sched: propagate tc_fill_tclass() error
  net/sched: tc_dump_qdisc_root() refactor
  net/sched: switch tc_dump_qdisc() to for_each_netdev_dump()
  net/sched: speedup tc_dump_qdisc() when tcm_ifindex is provided

 net/sched/sch_api.c | 127 +++++++++++++++++++++++---------------------
 1 file changed, 67 insertions(+), 60 deletions(-)

-- 
2.54.0.545.g6539524ca2-goog


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-05-01  4:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30  2:36 [PATCH v3 net-next 0/4] net/sched: tc_dump_qdisc() optimizations Eric Dumazet
2026-04-30  2:36 ` [PATCH v3 net-next 1/4] net/sched: propagate tc_fill_tclass() error Eric Dumazet
2026-04-30  2:36 ` [PATCH v3 net-next 2/4] net/sched: tc_dump_qdisc_root() refactor Eric Dumazet
2026-04-30  2:36 ` [PATCH v3 net-next 3/4] net/sched: switch tc_dump_qdisc() to for_each_netdev_dump() Eric Dumazet
2026-04-30  2:36 ` [PATCH v3 net-next 4/4] net/sched: speedup tc_dump_qdisc() when tcm_ifindex is provided Eric Dumazet
2026-05-01  4:10 ` [PATCH v3 net-next 0/4] net/sched: tc_dump_qdisc() optimizations patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox