linux/net/sched
Petr Machata aee9caa03f net: sched: sch_red: Add qevents "early_drop" and "mark"
In order to allow acting on dropped and/or ECN-marked packets, add two new
qevents to the RED qdisc: "early_drop" and "mark". Filters attached at
"early_drop" block are executed as packets are early-dropped, those
attached at the "mark" block are executed as packets are ECN-marked.

Two new attributes are introduced: TCA_RED_EARLY_DROP_BLOCK with the block
index for the "early_drop" qevent, and TCA_RED_MARK_BLOCK for the "mark"
qevent. Absence of these attributes signifies "don't care": no block is
allocated in that case, or the existing blocks are left intact in case of
the change callback.

For purposes of offloading, blocks attached to these qevents appear with
newly-introduced binder types, FLOW_BLOCK_BINDER_TYPE_RED_EARLY_DROP and
FLOW_BLOCK_BINDER_TYPE_RED_MARK.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-29 17:08:28 -07:00
..
act_api.c Remove redundant skb null check 2020-06-20 21:29:27 -07:00
act_bpf.c bpf: Add socket assign support 2020-03-30 13:45:04 -07:00
act_connmark.c net: sched: update action implementations to support flags 2019-10-30 18:07:51 -07:00
act_csum.c Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-11-26 15:42:43 -08:00
act_ct.c net: qos offload add flow status with dropped count 2020-06-19 12:53:30 -07:00
act_ctinfo.c net: sched: act_ctinfo: fix memory leak 2020-01-19 16:02:15 +01:00
act_gact.c net: qos offload add flow status with dropped count 2020-06-19 12:53:30 -07:00
act_gate.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-06-25 19:29:51 -07:00
act_ife.c net/sched: act_ife: initalize ife->metalist earlier 2020-01-17 10:58:15 +01:00
act_ipt.c net: sched: update action implementations to support flags 2019-10-30 18:07:51 -07:00
act_meta_mark.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
act_meta_skbprio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
act_meta_skbtcindex.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
act_mirred.c net: qos offload add flow status with dropped count 2020-06-19 12:53:30 -07:00
act_mpls.c net: Fixed updating of ethertype in skb_mpls_push() 2019-12-04 17:11:25 -08:00
act_nat.c icmp: remove duplicate code 2019-11-05 14:03:11 -08:00
act_pedit.c net: qos offload add flow status with dropped count 2020-06-19 12:53:30 -07:00
act_police.c net: qos offload add flow status with dropped count 2020-06-19 12:53:30 -07:00
act_sample.c net: sched: lock action when translating it to flow_action infra 2020-02-17 14:17:02 -08:00
act_simple.c net_sched: extend packet counter to 64bit 2019-11-05 18:20:55 -08:00
act_skbedit.c net: qos offload add flow status with dropped count 2020-06-19 12:53:30 -07:00
act_skbmod.c net: sched: update action implementations to support flags 2019-10-30 18:07:51 -07:00
act_tunnel_key.c Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-11-26 15:42:43 -08:00
act_vlan.c net: qos offload add flow status with dropped count 2020-06-19 12:53:30 -07:00
cls_api.c net: sched: Introduce helpers for qevent blocks 2020-06-29 17:08:28 -07:00
cls_basic.c net_sched: fix ops->bind_class() implementations 2020-01-27 10:51:43 +01:00
cls_bpf.c net_sched: fix ops->bind_class() implementations 2020-01-27 10:51:43 +01:00
cls_cgroup.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
cls_flow.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
cls_flower.c net: qos offload add flow status with dropped count 2020-06-19 12:53:30 -07:00
cls_fw.c net_sched: fix ops->bind_class() implementations 2020-01-27 10:51:43 +01:00
cls_matchall.c net: qos offload add flow status with dropped count 2020-06-19 12:53:30 -07:00
cls_route.c net_sched: cls_route: remove the right filter from hashtable 2020-03-16 01:59:32 -07:00
cls_rsvp6.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
cls_rsvp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
cls_rsvp.h cls_rsvp: fix rsvp_policy 2020-02-01 12:25:06 -08:00
cls_tcindex.c tcindex_change: Remove redundant null check 2020-06-22 20:55:09 -07:00
cls_u32.c net/sched: cls_u32: Use struct_size() in kzalloc() 2020-06-19 20:19:24 -07:00
em_canid.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 11 2019-05-21 11:28:45 +02:00
em_cmp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
em_ipset.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
em_ipt.c net: sched : Remove unnecessary cast in kfree 2020-04-23 15:50:50 -07:00
em_meta.c net: annotate lockless accesses to sk->sk_max_ack_backlog 2019-11-06 16:14:48 -08:00
em_nbyte.c net: sched: Replace zero-length array with flexible-array member 2020-02-29 21:27:02 -08:00
em_text.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
em_u32.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ematch.c net_sched: ematch: reject invalid TCF_EM_SIMPLE 2020-01-27 10:55:26 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile net: qos: introduce a gate control flow action 2020-05-01 16:08:19 -07:00
sch_api.c Remove redundant condition in qdisc_graft 2020-06-20 17:29:52 -07:00
sch_atm.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_blackhole.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_cake.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_cbq.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_cbs.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_choke.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_codel.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_drr.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_dsmark.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_etf.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_ets.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_fifo.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_fq_codel.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_fq_pie.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_fq.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_generic.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_gred.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_hfsc.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_hhf.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_htb.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_ingress.c net: sched: Pass ingress block to tcf_classify_ingress 2020-02-19 17:49:48 -08:00
sch_mq.c net: sched: fix dump qlen for sch_mq/sch_mqprio with NOLOCK subqueues 2019-12-03 11:53:55 -08:00
sch_mqprio.c mqprio: Fix out-of-bounds access in mqprio_dump 2019-12-06 11:58:45 -08:00
sch_multiq.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_netem.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_pie.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_plug.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_prio.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_qfq.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_red.c net: sched: sch_red: Add qevents "early_drop" and "mark" 2020-06-29 17:08:28 -07:00
sch_sfb.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_sfq.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_skbprio.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_taprio.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_tbf.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00
sch_teql.c net: sched: Pass root lock to Qdisc_ops.enqueue 2020-06-29 17:08:28 -07:00