[dpdk-dev] [PATCH 40/40] examples/pipeline: add VXLAN encap example

Stephen Hemminger stephen at networkplumber.org
Wed Aug 26 19:05:28 CEST 2020


On Wed, 26 Aug 2020 16:14:45 +0100
Cristian Dumitrescu <cristian.dumitrescu at intel.com> wrote:

> +/*
> + * Packet headers.
> + */
> +static struct rte_swx_field_params ethernet_h[] = {
> +	{"dst_addr", 48},
> +	{"src_addr", 48},
> +	{"ether_type", 16},
> +};
> +

Could these tables be made const? Looks like read-only data.


More information about the dev mailing list