diff options
| author | Jakub Kicinski <[email protected]> | 2023-03-20 18:41:14 -0700 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2023-03-20 21:57:49 -0700 |
| commit | b94e032b7ad6318b36615f0e0cc3b0d61a5531e8 (patch) | |
| tree | b895dc3f9d3caa60a32f5b28849fd8e141506cad /tools/perf/scripts/python | |
| parent | 04aae213e719ec2bb310158c4025316ace50589b (diff) | |
net: skbuff: reorder bytes 2 and 3 of the bitfield
BPF needs to know the offsets of fields it tries to access.
Zero-length fields are added to make offsetof() work.
This unfortunately partitions the bitfield (fields across
the zero-length members can't be coalesced).
Reorder bytes 2 and 3, BPF needs to know the offset of fields
previously in byte 3 and some fields in byte 2 should really
be optional.
The two bytes are always in the same cacheline so it should
not matter.
Signed-off-by: Jakub Kicinski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions