Skip to content

CNB: Update TC subsystem to upstream v5.18

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2090410
Depends: https://bugzilla.redhat.com/show_bug.cgi?id=2094002
Tested: Using TC related kernel self-tests

The series rebases TC subsystem to upstream v5.18

Commits:

f79a3bcb1a50 ("net/sched: Remove unnecessary if statement")
409f386b8e5d ("qdisc: add new field for qdisc_enqueue tracepoint")
56af5e749f20 ("net/sched: act_skbmod: Add SKBMOD_F_ECN option support")
68f9884837c6 ("tc-testing: Add control-plane selftest for skbmod SKBMOD_F_ECN option")
695176bfe5de ("net_sched: refactor TC action init API")
625af9f0298b ("tc-testing: Add control-plane selftests for sch_mq")
a5397d68b2db ("net/sched: cls_api, reset flags on replay")
efe487fce306 ("fix array-index-out-of-bounds in taprio_change")
1e080f17750d ("net: sched: update default qdisc visibility after Tx queue cnt changes")
2e367522ce6b ("netdevsim: add ability to change channel count")
2d6a58996ee2 ("selftests: net: test ethtool -L vs mq")
f7116fb46085 ("net: sched: move and reuse mq_change_real_num_tx()")
b193e15ac69d ("net: prevent user from passing illegal stab size")
69508d43334e ("net_sched: Use struct_size() and flex_array_size() helpers")
129291980f49 ("net: sched: Use struct_size() helper in kvmalloc()")
fbf307c89eb0 ("gen_stats: Add instead Set the value in __gnet_stats_copy_basic().")
448e163f8b9b ("gen_stats: Add gnet_stats_add_queue().")
7361df4606ba ("mq, mqprio: Use gnet_stats_add_queue().")
10940eb746d4 ("gen_stats: Move remaining users to gnet_stats_add_queue().")
f2efdb179289 ("u64_stats: Introduce u64_stats_set()")
67c9e6270f30 ("net: sched: Protect Qdisc::bstats with u64_stats")
f56940daa5a7 ("net: sched: Use _bstats_update/set() instead of raw writes")
50dc9a8572aa ("net: sched: Merge Qdisc::bstats and Qdisc::cpu_bstats data types")
29cbcd858283 ("net: sched: Remove Qdisc::running sequence counter")
4c57e2fac41c ("net: sched: fix logic error in qdisc_run_begin()")
97604c65bcda ("net: sched: remove one pair of atomic operations")
6b3efbfa4e68 ("net: sch_tbf: Add a graft command")
e22db7bd552f ("net: sched: Allow statistics reads from softirq.")
c5c6e589a8c8 ("net: stats: Read the statistics in ___gnet_stats_copy_basic() instead of adding.")
f25c0515c521 ("net: sched: gred: dynamically allocate tc_gred_qopt_offload")
267463823adb ("net: sch: eliminate unnecessary RCU waits in mini_qdisc_pair_swap()")
85c0c3eb9a66 ("net: sch: simplify condtion for selecting mini_Qdisc_pair buffer")
648a991cf316 ("sch_htb: Add extack messages for EOPNOTSUPP errors")
6de6e46d27ef ("cls_flower: Fix inability to match GRE/IPIP packets")
af0a51113cb7 ("selftests: forwarding: Fix packet matching in mirroring selftests")
cb3ef7b00042 ("net: sched: sch_netem: Refactor code in 4-state loss generator")
bdf1565fe03d ("selftests/tc-testing: match any qdisc type")
b43c2793f5e9 ("netfilter: nfnetlink_queue: silence bogus compiler warning")
43332cf97425 ("net/sched: act_ct: Offload only ASSURED connections")
40bd094d65fc ("flow_offload: fill flags to action structure")
144d4c9e800d ("flow_offload: reject to offload tc actions in offload drivers")
5a9959008fb6 ("flow_offload: add index to flow_action_entry structure")
9c1c0e124ca2 ("flow_offload: rename offload functions with offload instead of flow")
c54e1d920f04 ("flow_offload: add ops to tc_action_ops for flow action setup")
8cbfe939abe9 ("flow_offload: allow user to offload tc action to net device")
7adc57651211 ("flow_offload: add skip_hw and skip_sw to control if offload the action")
bcd64368584b ("flow_offload: rename exts stats update functions with hw")
c7a66f8d8a94 ("flow_offload: add process to update action stats from hardware")
e8cb5bcf6ed6 ("net: sched: save full flags for tc action")
13926d19a11e ("flow_offload: add reoffload process to update hw_count")
c86e0209dc77 ("flow_offload: validate flags of filter and actions")
eb473bac4a4b ("selftests: tc-testing: add action offload selftest for action and filter")
c48c94b0ab75 ("net/sched: use min() macro instead of doing it manually")
963178a06352 ("flow_offload: fix suspicious RCU usage when offloading tc action")
9795ded7f924 ("net/sched: act_ct: Fill offloading tuple iifidx")
b702436a51df ("net: openvswitch: Fill act ct extension")
7d18a07897d0 ("sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc")
c25af830ab26 ("sch_cake: revise Diffserv docs")
719774377622 ("netfilter: conntrack: convert to refcount_t api")
3fce16493dc1 ("netfilter: core: move ip_ct_attach indirection to struct nf_ct_hook")
285c8a7a5815 ("netfilter: make function op structures const")
6ae7989c9af0 ("netfilter: conntrack: avoid useless indirection during conntrack destruction")
408bdcfce8df ("net: prefer nf_ct_put instead of nf_conntrack_put")
fb80445c438c ("net_sched: restore "mpu xxx" handling")
973bf8fdd12f ("net: sched: Clarify error message when qdisc kind is unknown")
bb62a765b1b5 ("netfilter: conntrack: make all extensions 8-byte alignned")
5f31edc0676b ("netfilter: conntrack: move extension sizes into core")
1bc91a5ddf3e ("netfilter: conntrack: handle ->destroy hook via nat_ops instead")
1015c3de23ee ("netfilter: conntrack: remove extension register api")
34243b9ec856 ("netfilter: nft_ct: fix use after free when attaching zone template")
429c3be8a5e2 ("sch_htb: Fail on unsupported parameters when offload is requested")
98b608629746 ("net: sched: remove psched_tdiff_bounded()")
a459bc9a3a68 ("net: sched: remove qdisc_qlen_cpu()")
04c2a47ffb13 ("net: sched: fix use-after-free in tc_new_tfilter()")
35d39fecbc24 ("net/sched: Enable tc skb ext allocation on chain miss only when needed")
4ddc844eb81d ("net/sched: act_police: more accurate MTU policing")
5891cd5ec46c ("net_sched: add __rcu annotation to netdev->qdisc")
5740d0689096 ("net: sched: limit TC_ACT_REPEAT loops")
2f131de361f6 ("net/sched: act_ct: Fix flow table lookup after ct clear or switching zones")
ecf4a24cf978 ("net: sched: avoid newline at end of message in NL_SET_ERR_MSG_MOD")
b8cd5831c61c ("net: flow_offload: add tc police action parameters")
d97b4b105ce7 ("flow_offload: reject offload for all drivers with invalid police parameters")
fcb6aa86532c ("act_ct: Support GRE offload")
db6140e5e35a ("net/sched: act_ct: Fix flow table lookup failure with no originating ifindex")
d922a99b96d0 ("flow_offload: improve extack msg for user when adding invalid filter")
ab95465cde23 ("net/sched: add vlan push_eth and pop_eth action to the hardware IR")
054d5575cd6e ("net/sched: fix incorrect vlan_push_eth dest field")
bcb74e132a76 ("net/sched: act_ct: fix ref leak when switching zones")
2105f700b53c ("net/sched: flower: fix parsing of ethertype following VLAN header")
e65812fd22eb ("net/sched: fix initialization order when updating chain 0 head")
e8a64bbaaad1 ("net/sched: taprio: Check if socket flags are valid")
3db09e762dc7 ("net/sched: cls_u32: fix netns refcount changes in u32_change()")
ec5b0f605b10 ("net/sched: cls_u32: fix possible leak in u32_init_knode()")
8b796475fd78 ("net/sched: act_pedit: really ensure the skb is writable")
4d42d54a7d6a ("net/sched: act_pedit: sanitize shift argument before usage")
86360030cc51 ("net/sched: act_api: fix error code in tcf_ct_flow_table_fill_tuple_ipv6()")

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

Edited by Ivan Vecera

Merge request reports

Loading