netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] net/sched: Retire some tc qdiscs and classifiers
@ 2023-02-14 13:49 Jamal Hadi Salim
  2023-02-14 13:49 ` [PATCH net-next 1/5] net/sched: Retire CBQ qdisc Jamal Hadi Salim
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Jamal Hadi Salim @ 2023-02-14 13:49 UTC (permalink / raw)
  To: netdev
  Cc: xiyou.wangcong, jiri, davem, edumazet, kuba, pabeni, stephen,
	dsahern, Jamal Hadi Salim

The CBQ + dsmark qdiscs and the tcindex + rsvp classifiers have served us for
over 2 decades. Unfortunately, they have not been getting much attention due
to reduced usage. While we dont have a good metric for tabulating how much use
a specific kernel feature gets, for these specific features we observed that
some of the functionality has been broken for some time and no users complained.
In addition, syzkaller has been going to town on most of these and finding
issues; and while we have been fixing those issues, at times it becomes obvious
that we would need to perform bigger surgeries to resolve things found while
getting a syzkaller fix in place. After some discussion we feel that in order
to reduce the maintenance burden it is best to retire them.

This patchset leaves the UAPI alone. I could send another version which deletes
the UAPI as well. AFAIK, this has not been done before - so it wasnt clear what
how to handle UAPI. It seems legit to just delete it but we would need to
coordinate with iproute2 (given they sync up with kernel uapi headers). There
are probably other users we don't know of that copy kernel headers.
If folks feel differently I will resend the patches deleting UAPI for these
qdiscs and classifiers.

I will start another thread on iproute2 before sending any patches to iproute2.

Jamal Hadi Salim (5):
  net/sched: Retire CBQ qdisc
  net/sched: Retire ATM qdisc
  net/sched: Retire dsmark qdisc
  net/sched: Retire tcindex classifier
  net/sched: Retire rsvp classifier

 include/net/tc_wrapper.h                      |   15 -
 net/sched/Kconfig                             |   81 -
 net/sched/Makefile                            |    6 -
 net/sched/cls_rsvp.c                          |   26 -
 net/sched/cls_rsvp.h                          |  764 --------
 net/sched/cls_rsvp6.c                         |   26 -
 net/sched/cls_tcindex.c                       |  716 -------
 net/sched/sch_atm.c                           |  706 -------
 net/sched/sch_cbq.c                           | 1727 -----------------
 net/sched/sch_dsmark.c                        |  518 -----
 .../tc-testing/tc-tests/filters/rsvp.json     |  203 --
 .../tc-testing/tc-tests/filters/tcindex.json  |  227 ---
 .../tc-testing/tc-tests/qdiscs/atm.json       |   94 -
 .../tc-testing/tc-tests/qdiscs/cbq.json       |  184 --
 .../tc-testing/tc-tests/qdiscs/dsmark.json    |  140 --
 15 files changed, 5433 deletions(-)
 delete mode 100644 net/sched/cls_rsvp.c
 delete mode 100644 net/sched/cls_rsvp.h
 delete mode 100644 net/sched/cls_rsvp6.c
 delete mode 100644 net/sched/cls_tcindex.c
 delete mode 100644 net/sched/sch_atm.c
 delete mode 100644 net/sched/sch_cbq.c
 delete mode 100644 net/sched/sch_dsmark.c
 delete mode 100644 tools/testing/selftests/tc-testing/tc-tests/filters/rsvp.json
 delete mode 100644 tools/testing/selftests/tc-testing/tc-tests/filters/tcindex.json
 delete mode 100644 tools/testing/selftests/tc-testing/tc-tests/qdiscs/atm.json
 delete mode 100644 tools/testing/selftests/tc-testing/tc-tests/qdiscs/cbq.json
 delete mode 100644 tools/testing/selftests/tc-testing/tc-tests/qdiscs/dsmark.json

-- 
2.34.1


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

end of thread, other threads:[~2023-02-16  9:00 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-14 13:49 [PATCH net-next 0/5] net/sched: Retire some tc qdiscs and classifiers Jamal Hadi Salim
2023-02-14 13:49 ` [PATCH net-next 1/5] net/sched: Retire CBQ qdisc Jamal Hadi Salim
2023-02-14 13:49 ` [PATCH net-next 2/5] net/sched: Retire ATM qdisc Jamal Hadi Salim
2023-02-14 13:49 ` [PATCH net-next 3/5] net/sched: Retire dsmark qdisc Jamal Hadi Salim
2023-02-14 13:49 ` [PATCH net-next 4/5] net/sched: Retire tcindex classifier Jamal Hadi Salim
2023-02-14 13:49 ` [PATCH net-next 5/5] net/sched: Retire rsvp classifier Jamal Hadi Salim
2023-02-14 14:01 ` iproute2/user space code obsoletion when depending on kernel features WAS([PATCH net-next 0/5] net/sched: Retire some tc qdiscs and classifiers) Jamal Hadi Salim
2023-02-14 14:25 ` [PATCH net-next 0/5] net/sched: Retire some tc qdiscs and classifiers Jiri Pirko
2023-02-14 21:40   ` Jakub Kicinski
2023-02-14 21:41     ` Jakub Kicinski
2023-02-14 23:05       ` Jamal Hadi Salim
2023-02-14 23:22         ` Jakub Kicinski
2023-02-14 23:52           ` Jamal Hadi Salim
2023-02-15  0:41             ` Jakub Kicinski
2023-02-15  7:50         ` Jiri Pirko
2023-02-15 13:42           ` Pedro Tammela
2023-02-15 16:37             ` Jamal Hadi Salim
2023-02-16  8:51 ` Paolo Abeni
2023-02-16  9:00 ` 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;
as well as URLs for NNTP newsgroup(s).