Skip to content

CNB: Update TC subsystem to upstream v6.3

Ivan Vecera requested to merge ivecera/centos-stream-9:bz2172886 into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172886
Tested: Using TC selftests
Depends: !2404 (merged)

Commits:

94dfc73e7cf4 ("treewide: uapi: Replace zero-length arrays with flexible-array members")
52327d2e3996 ("net: sched: remove the unused return value of unregister_qdisc")
cfc111d5391d ("net: sched: delete unused input parameter in qdisc_create")
92f24c6fefd5 ("net_sched: move from strlcpy with unused retval to strscpy")
ab4850819176 ("net: sched: remove duplicate check of user rights in qdisc")
c19d893fbf3f ("net: sched: delete duplicate cleanup of backlog and qlen")
44387d1736c4 ("net: sched: remove unnecessary init of qdisc skb head")
53a406803ca5 ("net_sched: remove impossible conditions")
4b7477f0921a ("net: sched: using TCQ_MIN_PRIO_BANDS in prio_tune()")
90fabae8a2c2 ("sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb")
38af11717b38 ("net: sched: choke: remove unused variables in struct choke_sched_data")
4516c873e3b5 ("net: sched: gred/red: remove unused variables in struct red_stats")
0b4f688d53fd ("Revert "sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb"")
a102c8973db7 ("net: sched: remove redundant NULL check in change hook function")
4bf8594a8036 ("net: sched: gred: remove NULL check before free table->tab in gred_destroy()")
75aad41ac3cf ("net: sched: etf: remove true check in etf_enable_offload()")
2e5fb3223261 ("net/sched: cls_api: remove redundant 0 check in tcf_qevent_init()")
494f5063b86c ("net: sched: fq_codel: remove redundant resource cleanup in fq_codel_init()")
d59f4e1d1fe7 ("net: sched: htb: remove redundant resource cleanup in htb_init()")
acd0a7ab6334 ("net: sched: act: move global static variable net_id to tc_action_ops")
fae52d932338 ("net: sched: act_api: implement generic walker and search for tc action")
aa0a92f7458c ("net: sched: act_bpf: get rid of tcf_bpf_walker and tcf_bpf_search")
c4d2497032ae ("net: sched: act_connmark: get rid of tcf_connmark_walker and tcf_connmark_search")
d2388df33b36 ("net: sched: act_csum: get rid of tcf_csum_walker and tcf_csum_search")
cb967ace0acc ("net: sched: act_ct: get rid of tcf_ct_walker and tcf_ct_search")
d51145dafd50 ("net: sched: act_ctinfo: get rid of tcf_ctinfo_walker and tcf_ctinfo_search")
eeb3f43e05c0 ("net: sched: act_gact: get rid of tcf_gact_walker and tcf_gact_search")
ae3f9fc308d5 ("net: sched: act_gate: get rid of tcf_gate_walker and tcf_gate_search")
ad0cd0a85cd7 ("net: sched: act_ife: get rid of tcf_ife_walker and tcf_ife_search")
0a4c06f20d76 ("net: sched: act_ipt: get rid of tcf_ipt_walker/tcf_xt_walker and tcf_ipt_search/tcf_xt_search")
d58efc6ecce8 ("net: sched: act_mirred: get rid of tcf_mirred_walker and tcf_mirred_search")
7fadae53aa86 ("net: sched: act_mpls: get rid of tcf_mpls_walker and tcf_mpls_search")
586fab138659 ("net: sched: act_nat: get rid of tcf_nat_walker and tcf_nat_search")
b915d86981fe ("net: sched: act_pedit: get rid of tcf_pedit_walker and tcf_pedit_search")
0abf7f8f82bb ("net: sched: act_police: get rid of tcf_police_walker and tcf_police_search")
400d66332cd4 ("net: sched: act_sample: get rid of tcf_sample_walker and tcf_sample_search")
5d6e9cb5c916 ("net: sched: act_simple: get rid of tcf_simp_walker and tcf_simp_search")
038725f9eed6 ("net: sched: act_skbedit: get rid of tcf_skbedit_walker and tcf_skbedit_search")
8a35c5df28aa ("net: sched: act_skbmod: get rid of tcf_skbmod_walker and tcf_skbmod_search")
f6ffa368f061 ("net: sched: act_tunnel_key: get rid of tunnel_key_walker and tunnel_key_search")
6d13a65d2a67 ("net: sched: act_vlan: get rid of tcf_vlan_walker and tcf_vlan_search")
77cba3879f1b ("selftests/tc-testings: add selftests for ctinfo action")
4a1db5251cfa ("selftests/tc-testings: add selftests for gate action")
910d504bc187 ("selftests/tc-testings: add selftests for xt action")
0fc8674663f6 ("selftests/tc-testings: add connmark action deleting test case")
af649e7a6a53 ("selftests/tc-testings: add ife action deleting test case")
043b16435f3d ("selftests/tc-testings: add nat action deleting test case")
a32a4fa447f5 ("selftests/tc-testings: add sample action deleting test case")
eed791d3ca95 ("selftests/tc-testings: add tunnel_key action deleting test case")
65b32f801bfb ("uapi: move IPPROTO_L2TP to in.h")
036b8f5b8970 ("tools headers uapi: Update linux/in.h copy")
dda2fa08a13c ("flow_dissector: Add L2TPv3 dissectors")
8b189ea08c33 ("net/sched: flower: Add L2TPv3 filter")
2c1befaced50 ("flow_offload: Introduce flow_match_l2tpv3")
154e07c16485 ("l2tp: generate correct module alias strings")
c8cbe123be6d ("net/sched: taprio: taprio_offload_config_changed() is protected by rtnl_mutex")
18cdd2f0998a ("net/sched: taprio: taprio_dump and taprio_change are protected by rtnl_mutex")
9af23657b336 ("net/sched: taprio: use rtnl_dereference for oper and admin sched in taprio_destroy()")
fa65edde5e49 ("net/sched: taprio: remove redundant FULL_OFFLOAD_IS_ENABLED check in taprio_enqueue")
25becba6290b ("net/sched: taprio: stop going through private ops for dequeue and peek")
026de64d7bc3 ("net/sched: taprio: add extack messages in taprio_init")
2c08a4f898d0 ("net/sched: taprio: replace safety precautions with comments")
fe0df81df51e ("net/sched: cls_api: add helper for tc cls walker stats dump")
5508ff7cf375 ("net/sched: use tc_cls_stats_dump() in filter")
93f3f2eaa4c9 ("selftests/tc-testings: add selftests for bpf filter")
33c411927615 ("selftests/tc-testings: add selftests for cgroup filter")
58f82b3a0b05 ("selftests/tc-testings: add selftests for flow filter")
67107e7fcfbe ("selftests/tc-testings: add selftests for route filter")
23020350eb6a ("selftests/tc-testings: add selftests for rsvp filter")
fa8dfba59e78 ("selftests/tc-testings: add selftests for tcindex filter")
972e88611240 ("selftests/tc-testings: add list case for basic filter")
2a566f0148ba ("net: sched: act_ct: remove redundant variable err")
2801f30e2cef ("net: sched: simplify code in mall_reoffload")
1d14b30b5a5e ("net: sched: remove unused tcf_result extension")
a2c2a4ddc27d ("net/sched: taprio: remove unnecessary taprio_list_lock")
d7a68e564e29 ("net/sched: sch_api: add helper for tc qdisc walker stats dump")
e046fa895c45 ("net/sched: use tc_qdisc_stats_dump() in qdisc")
b68d9c330eef ("selftests/tc-testing: add selftests for cake qdisc")
6c1ef8f00f9a ("selftests/tc-testing: add selftests for cbq qdisc")
3bec7e2910b8 ("selftests/tc-testing: add selftests for cbs qdisc")
9b1edbc1c58f ("selftests/tc-testing: add selftests for drr qdisc")
5d93f04d681d ("selftests/tc-testing: add selftests for dsmark qdisc")
965a25e34550 ("selftests/tc-testing: add selftests for fq_codel qdisc")
265b9adcc4c6 ("selftests/tc-testing: add selftests for hfsc qdisc")
68135f636218 ("selftests/tc-testing: add selftests for htb qdisc")
8ab00f8b5e29 ("selftests/tc-testing: add selftests for mqprio qdisc")
e4c4bcb0e4ee ("selftests/tc-testing: add selftests for multiq qdisc")
779f966f16db ("selftests/tc-testing: add selftests for netem qdisc")
856359c0d067 ("selftests/tc-testing: add selftests for qfq qdisc")
5ca72fbeabed ("selftests/tc-testing: add show class case for ingress qdisc")
dfbadd7f9945 ("selftests/tc-testing: add show class case for mq qdisc")
1c15eb2a03c6 ("selftests/tc-testing: add show class case for prio qdisc")
d3f832547bb2 ("selftests/tc-testing: add show class case for red qdisc")
fc4f2fd02a1a ("net/sched: taprio: simplify list iteration in taprio_dev_notifier()")
73dfe93ea1b3 ("headers: Remove some left-over license text")
0335833b10cd ("selftests/tc-testing: add selftests for atm qdisc")
99e0f78d6bdd ("selftests/tc-testing: add selftests for choke qdisc")
412233b1f7e7 ("selftests/tc-testing: add selftests for codel qdisc")
fa4b3e9f057b ("selftests/tc-testing: add selftests for etf qdisc")
9e274718cc05 ("selftests/tc-testing: add selftests for fq qdisc")
a4a8d3562b07 ("selftests/tc-testing: add selftests for gred qdisc")
225aeb62fe58 ("selftests/tc-testing: add selftests for hhf qdisc")
379a6509452e ("selftests/tc-testing: add selftests for pfifo_fast qdisc")
7d0b4b0ccb15 ("selftests/tc-testing: add selftests for plug qdisc")
6ad92dc56fca ("selftests/tc-testing: add selftests for sfb qdisc")
0158f65bfbdd ("selftests/tc-testing: add selftests for sfq qdisc")
c5a2d86b9228 ("selftests/tc-testing: add selftests for skbprio qdisc")
8a3b3667ddbd ("selftests/tc-testing: add selftests for taprio qdisc")
10835be3f0f7 ("selftests/tc-testing: add selftests for tbf qdisc")
cc62fbe114c9 ("selftests/tc-testing: add selftests for teql qdisc")
8fff09effb07 ("net: sched: act_bpf: simplify code logic in tcf_bpf_init()")
7cba18332e36 ("net: sched: cls_u32: Avoid memcpy() false-positive warning")
aac4daa8941e ("net/sched: query offload capabilities through ndo_setup_tc()")
a54fc09e4cba ("net/sched: taprio: allow user input of per-tc max SDU")
f77a9f3cd1e6 ("selftests/tc-testing: update qdisc/cls/action features in config")
4e6263ec8bc9 ("net: sched: ensure n arg not empty before call bind_class")
402963e34a70 ("net: sched: cls_api: introduce tc_cls_bind_class() helper")
cc9039a13494 ("net: sched: use tc_cls_bind_class() in filter")
81895a65ec63 ("treewide: use prandom_u32_max() when possible, part 1")
a251c17aa558 ("treewide: use get_random_u32() when possible")
197173db990c ("treewide: use get_random_bytes() when possible")
f5ffa3b11973 ("Revert "net: sched: fq_codel: remove redundant resource cleanup in fq_codel_init()"")
2a3fc78210b9 ("net: sched: sfb: fix null pointer access issue when sfb_init() fails")
95d9a3dab109 ("selftests: tc-testing: Add matchJSON to tdc")
70ea86a0dfed ("net: flow_offload: add support for ARP frame matching")
8427fd100c7b ("net: sched: allow act_ct to be built without NF_NAT")
2a7d228f1ae7 ("net/sched: move struct action_ops definition out of ifdef")
7f0e810220e2 ("net/sched: add retpoline wrapper for tc")
871cf386dd16 ("net/sched: avoid indirect act functions on retpoline kernels")
9f3101dca3a7 ("net/sched: avoid indirect classify functions on retpoline kernels")
0564c3e51bc7 ("net: sched: update the nat flag for icmp error packets in ct_nat_execute")
9d2f00fb0a0c ("netfilter: nf_nat: in nf_nat_initialized(), use const struct nf_conn *")
ebddb1404900 ("net: move the nat function to nf_nat_ovs for ovs and tc")
9cd3fd2054c3 ("net_sched: reject TCF_EM_SIMPLE case for complex ematch module")
292a089d78d3 ("treewide: Convert del_timer*() to timer_shutdown*()")
40cab44b9089 ("net/sched: fix retpoline wrapper compilation on configs without tc filters")
a2965c7be052 ("net: sched: atm: dont intepret cls results when asked to drop")
caa4b35b4317 ("net: sched: cbq: dont intepret cls results when asked to drop")
43d253781f63 ("net: sched: htb: fix htb_classify() kernel-doc")
9e17f99220d1 ("net/sched: act_mpls: Fix warning during failed attribute validation")
0349b8779cc9 ("sched: add new attr TCA_EXT_WARN_MSG to report tc extact message")
6a7a2c18a9de ("net: Kconfig: fix spellos")
de5ca4c3852f ("net: sched: sch: Bounds check priority")
52cf89f78c01 ("net/sched: transition act_pedit to rcu and percpu stats")
95b069382351 ("net/sched: simplify tcf_pedit_act")
feb2cf3dcfb9 ("net/sched: mqprio: refactor nlattr parsing to a separate function")
5cfb45e2fb71 ("net/sched: mqprio: refactor offloading and unoffloading to dedicated functions")
9adafe2b8546 ("net/sched: move struct tc_mqprio_qopt_offload from pkt_cls.h to pkt_sched.h")
d7045f520a74 ("net/sched: mqprio: allow reverse TC:TXQ mappings")
19278d76915d ("net/sched: mqprio: allow offloading drivers to request queue count validation")
d404959fa23a ("net/sched: mqprio: add extack messages for queue count validation")
1dfe086dd7ef ("net/sched: taprio: centralize mqprio qopt validation")
9dd6ad674cc7 ("net/sched: refactor mqprio qopt reconstruction to a library function")
09c794c0a88d ("net/sched: taprio: pass mqprio queue configuration to ndo_setup_tc()")
522d15ea831f ("net/sched: taprio: only pass gate mask per TXQ for igc, stmmac, tsnep, am65_cpsw")
9cec2aaffe96 ("net: sched: sch: Fix off by one in htb_activate_prios()")
ecc0cc98632a ("net/sched: taprio: delete peek() implementation")
1638bbbe4ece ("net/sched: taprio: continue with other TXQs if one dequeue() failed")
92f966674f6a ("net/sched: taprio: refactor one skb dequeue from TXQ to separate function")
4c22942734f0 ("net/sched: taprio: avoid calling child->ops->dequeue(child) twice")
2f530df76c8c ("net/sched: taprio: give higher priority to higher TCs in software dequeue mode")
a306a90c8ffe ("net/sched: taprio: calculate tc gate durations")
2fbdf45d7d26 ("list: Add list_next_entry_circular() and list_prev_entry_circular()")
e5517551112f ("net/sched: taprio: rename close_time to end_time")
d2ad689dec10 ("net/sched: taprio: calculate budgets per traffic class")
a1e6ad30fa19 ("net/sched: taprio: calculate guard band against actual TC gate close time")
1f62879e3632 ("net/sched: make stab available before ops->init() call")
a3d91b2c6f6b ("net/sched: taprio: warn about missing size table")
a878fd46fe43 ("net/sched: keep the max_frm_len information inside struct sched_gate_list")
fed87cc6718a ("net/sched: taprio: automatically calculate queueMaxSDU based on TC gate durations")
2d5e8071c47a ("net/sched: taprio: split segmentation logic from qdisc_enqueue()")
39b02d6d104a ("net/sched: taprio: don't segment unnecessarily")
c0c3ab63de60 ("net: create nf_conntrack_ovs for ovs and tc use")
67fc5d7ffbd4 ("net: extract nf_ct_skb_network_trim function to nf_conntrack_ovs")
1b83bf4489cb ("openvswitch: move key and ovs_cb update out of handle_fragments")
558d95e7e11c ("net: sched: move frag check and tc_skb_cb update out of handle_fragments")
0785407e78d4 ("net: extract nf_ct_handle_fragments to nf_conntrack_ovs")
ee059170b1f7 ("net/sched: tcindex: update imperfect hash filters respecting rcu")
4fab64126891 ("net/sched: fix error recovery in qdisc_create()")
21c167aa0ba9 ("net/sched: act_ctinfo: use percpu stats")
8f2ca70c07f4 ("net/sched: optimize action stats api calls")
3320f36fd8ad ("net/sched: act_pedit, setup offload action for action stats query")
ac7d27907d54 ("net/sched: pass flow_stats instead of multiple stats args")
d307b2c6f962 ("net/sched: introduce flow_offload action cookie")
5246c896b805 ("net/sched: support per action hw stats")
42018a322bd4 ("net/sched: tcindex: search key must be 16 bits")
f58531716ced ("selftests: forwarding: tc_actions: cleanup temporary files when test is aborted")
051d44209842 ("net/sched: Retire CBQ qdisc")
fb38306ceb9e ("net/sched: Retire ATM qdisc")
bbe77c14ee61 ("net/sched: Retire dsmark qdisc")
8c710f75256b ("net/sched: Retire tcindex classifier")
265b4da82dbf ("net/sched: Retire rsvp classifier")
7d12057b45fb ("net/sched: act_nat: transition to percpu stats and rcu")
288864effe33 ("net/sched: act_connmark: transition to percpu stats and rcu")
7afd073e5521 ("net/sched: act_gate: use percpu stats")
2d2e75d2d4a2 ("net/sched: act_pedit: use percpu overlimit counter when available")
09dbdf28f9f9 ("net/sched: taprio: fix calculation of maximum gate durations")
bdf366bd867c ("net/sched: taprio: don't allow dynamic max_sdu to go negative after stab adjustment")
64cb6aad1232 ("net/sched: taprio: dynamic max_sdu larger than the max_mtu is unlimited")
db4b49025c0c ("net/sched: Rename user cookie and act cookie")
80cd22c35c90 ("net/sched: cls_api: Support hardware miss to tc action")
08a0063df3ae ("net/sched: flower: Move filter handle initialization earlier")
606c7c43d08c ("net/sched: flower: Support hardware miss to tc action")
37e1f3acc339 ("net/sched: cls_api: Move call to tcf_exts_miss_cookie_base_destroy()")
e9e42292ea76 ("net/sched: act_pedit: fix action bind logic")
e88d78a773cb ("net/sched: act_mpls: fix action bind logic")
4a20056a49a1 ("net/sched: act_sample: fix action bind logic")
923b2e30dc9c ("net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy")
fb07390463c9 ("net/sched: act_connmark: handle errno on tcf_idr_check_alloc")
dfd2f0eb2347 ("net/sched: flower: fix fl_change() error recovery path")
8de2bd02439e ("Revert "net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy"")
2f59823fe696 ("net/sched: act_api: add specific EXT_WARN_MSG for tc action")
3037933448f6 ("net: sched: sch_qfq: prevent slab-out-of-bounds in qfq_activate_agg")
338469d677e5 ("net/sched: clear actions pointer in miss cookie init fail")
7041101ff6c3 ("net/sched: sch_fq: fix integer overflow of "credit"")
2cc8a008d62f ("net/sched: cls_api: Initialize miss_cookie_node when action miss is not used")
32eff6bacec2 ("net/sched: flower: Fix wrong handle assignment during filter change")

Signed-off-by: Ivan Vecera ivecera@redhat.com

Edited by Michal Schmidt

Merge request reports