[PATCH v2 2/4] ethdev: add VXLAN last reserved field

Thomas Monjalon thomas at monjalon.net
Tue Jun 4 13:59:01 CEST 2024


27/05/2024 04:47, Rongwei Liu:
> Add VXLAN last reserved byte in rte flow packet field.

You should squash addition in testpmd in the same patch.
Adding a field in rte_flow.h should be atomic with testpmd update.

> @@ -2428,6 +2428,7 @@ enum rte_flow_field_id {
>  	RTE_FLOW_FIELD_ESP_SEQ_NUM,     /**< ESP Sequence Number. */
>  	RTE_FLOW_FIELD_ESP_PROTO,       /**< ESP next protocol value. */
>  	RTE_FLOW_FIELD_RANDOM,          /**< Random value. */
> +	RTE_FLOW_FIELD_VXLAN_RSVD1,     /**< VXLAN reserved1. */

It isn't clear what reserved1 is.
You should say it is the last byte of the VXLAN header.




More information about the dev mailing list