[dpdk-dev] [PATCH v4 2/5] ethdev: introduce new tunnel VXLAN-GPE

Thomas Monjalon thomas at monjalon.net
Tue Apr 17 00:23:05 CEST 2018


13/04/2018 13:02, Xueming Li:
> +struct vxlan_gpe_hdr {
> +	uint8_t vx_flags; /**< flag (8). */
> +	uint8_t reserved[2]; /**< Reserved (16). */
> +	uint8_t proto; /**< next-protocol (8). */
> +	uint32_t vx_vni;   /**< VNI (24) + Reserved (8). */
> +} __attribute__((__packed__));

minor nit: the field comments could be aligned




More information about the dev mailing list