Displaying 1 result from an estimated 1 matches for "napi_gro_cb".
2020 May 26
6
[RFC] Loading Bitfields with Smallest Needed Types
We're running into an interesting issue with the Linux kernel, and
wanted advice on how to proceed.
Example of what we're talking about: https://godbolt.org/z/ABGySq
The issue is that when working with a bitfield a load may happen
quickly after a store. For instance:
struct napi_gro_cb {
void *frag;
unsigned int frag_len;
u16 flush;
u16 flush_id;
u16 count;
u16 gro_remcsum_start;
unsigned long age;
u16 proto;
u8 same_flow : 1;
u8 encap_mark : 1;
u8 csum_valid : 1;
u8 csum_cnt : 3;
u8 free : 2;
u8 is_ipv6 : 1;
u8 is_fou :...