[PATCH v6 2/4] net: add new union into VXLAN header

Thomas Monjalon thomas at monjalon.net
Wed Jun 5 12:42:13 CEST 2024


05/06/2024 12:21, Rongwei Liu:
> Add "uint8_t last_rsvd" as union with origin rsvd1.

You should explain why: for matching what we have in testpmd.
I think it should be squashed with the next patch.

> -			uint8_t    rsvd1;    /**< Reserved. */
> +			union {
> +				uint8_t    rsvd1;        /**< Reserved. */
> +				uint8_t    last_rsvd;    /**< Reserved. */
> +			};





More information about the dev mailing list