mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
net_sched: make room for (struct qdisc_skb_cb)->pkt_segs
Add a new u16 field, next to pkt_len : pkt_segs This will cache shinfo->gso_segs to speed up qdisc deqeue(). Move slave_dev_queue_mapping at the end of qdisc_skb_cb, and move three bits from tc_skb_cb : - post_ct - post_ct_snat - post_ct_dnat Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20251121083256.674562-2-edumazet@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
committed by
Paolo Abeni
parent
e3daf0e7fe
commit
b2a38f6df9
@@ -1872,9 +1872,9 @@ int tcf_classify(struct sk_buff *skb,
|
||||
}
|
||||
ext->chain = last_executed_chain;
|
||||
ext->mru = cb->mru;
|
||||
ext->post_ct = cb->post_ct;
|
||||
ext->post_ct_snat = cb->post_ct_snat;
|
||||
ext->post_ct_dnat = cb->post_ct_dnat;
|
||||
ext->post_ct = qdisc_skb_cb(skb)->post_ct;
|
||||
ext->post_ct_snat = qdisc_skb_cb(skb)->post_ct_snat;
|
||||
ext->post_ct_dnat = qdisc_skb_cb(skb)->post_ct_dnat;
|
||||
ext->zone = cb->zone;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user