[Intel-wired-lan] [RFC PATCH iwl-next 2/6] ip_tunnel: convert __be16 tunnel flags to bitmaps
Alexander Lobakin
aleksander.lobakin at intel.com
Fri Jun 2 13:19:52 UTC 2023
From: Marcin Szycik <marcin.szycik at linux.intel.com>
Date: Thu, 1 Jun 2023 15:19:25 +0200
> From: Alexander Lobakin <alexandr.lobakin at intel.com>
>
> Historically, tunnel flags like TUNNEL_CSUM or TUNNEL_ERSPAN_OPT
> have been defined as __be16. Now all of those 16 bits are occupied
> and there's no more free space for new flags.
> It can't be simply switched to a bigger container with no
> adjustments to the values, since it's an explicit Endian storage,
> and on LE systems (__be16)0x0001 equals to
> (__be64)0x0001000000000000.
[...]
Little comment on this: yes, I'm planning to extend UAPI to be able to
use more bits, but using Netlink bigint, which I posted last autumn,
then switched to another project, now I'm a little (a ton) busy with
urgent another one... Hopefully I'll send v3 in 2 weeks or so.
PFCP doesn't depend on it anyway, so this can be done separately.
Thanks,
Olek
More information about the Intel-wired-lan
mailing list