net/sched: Extend qdisc control block with tc control block
authorPaul Blakey <paulb@nvidia.com>
Tue, 14 Dec 2021 17:24:33 +0000 (19:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jan 2022 11:42:33 +0000 (12:42 +0100)
commit0d76daf2013ce1da20eab5e26bd81d983e1c18fb
tree616c5150689c4fbc2f8fba8b702f5fea24f39a69
parent80176f65fa28898e7e20077e85989be479392cd2
net/sched: Extend qdisc control block with tc control block

[ Upstream commit ec624fe740b416fb68d536b37fb8eef46f90b5c2 ]

BPF layer extends the qdisc control block via struct bpf_skb_data_end
and because of that there is no more room to add variables to the
qdisc layer control block without going over the skb->cb size.

Extend the qdisc control block with a tc control block,
and move all tc related variables to there as a pre-step for
extending the tc control block with additional members.

Signed-off-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/pkt_sched.h
include/net/sch_generic.h
net/core/dev.c
net/sched/act_ct.c
net/sched/cls_api.c
net/sched/cls_flower.c
net/sched/sch_frag.c