diff options
author | Eric Dumazet <edumazet@google.com> | 2024-10-08 11:16:03 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-09 19:50:31 -0700 |
commit | e4650d7ae4252f67e997a632adfae0dd74d3a99a (patch) | |
tree | bd43fd0897e9a131f7f330db80acb0dcd2f3c45b /rust/helpers/mutex.c | |
parent | 0a316b16a6c8d32098ae5c1b18f343ba52e8f4bc (diff) |
net_sched: sch_sfq: handle bigger packets
SFQ has an assumption on dealing with packets smaller than 64KB.
Even before BIG TCP, TCA_STAB can provide arbitrary big values
in qdisc_pkt_len(skb)
It is time to switch (struct sfq_slot)->allot to a 32bit field.
sizeof(struct sfq_slot) is now 64 bytes, giving better cache locality.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://patch.msgid.link/20241008111603.653140-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions