[PATCH v4] net: add bit fields to IPv6 header definition
Morten Brørup
mb at smartsharesystems.com
Tue Jun 18 14:44:29 CEST 2024
> From: Gregory Etelson [mailto:getelson at nvidia.com]
>
> DPDK IPv6 header definition combined the `version`, `traffic class`
> and `flow label` header fields into a single 32 bits structure member
> `vtc_flow`.
>
> The patch expands IPv6 header definition with dedicated structure
> members for the `version`, `traffic class` and `flow label` fields.
> The `traffic class` is also separated into DS and ECN fields.
>
> The patch also preserves existing `vtc_flow` structure member for
> backward compatibility.
>
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> ---
Reviewed-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list