On 13.08.2025 13:26, Paolo Abeni wrote:
+typedef struct NetOffloads { + bool csum; + bool tso4; + bool tso6; + bool ecn; + bool ufo; + bool uso4; + bool uso6; +} NetOffloads;
BTW, can't this be a bitmask (single integer) or a bitfield? Dunno how well it'll work, but it feels like this construct: NetOffloads ol = {.csum = cso_state }; and similar should do a large(ish) memzero() which kind of defeats the purpose of an offload (for speed). Just asking.. Thanks, /mjt