> -----Original Message----- > From: Stephen Hemminger <step...@networkplumber.org> > Sent: Wednesday, August 26, 2020 6:05 PM > To: Dumitrescu, Cristian <cristian.dumitre...@intel.com> > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 40/40] examples/pipeline: add VXLAN encap > example > > On Wed, 26 Aug 2020 16:14:45 +0100 > Cristian Dumitrescu <cristian.dumitre...@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. Thanks, Stephen, I just sent V2 where the examples have been completely reworked. The examples are now described in a pipeline specification file (closely aligned with P4) parsed at initialization, as opposed of C code. Regards, Cristian
- [dpdk-dev] [PATCH 31/40] pipeline: add table update h... Cristian Dumitrescu
- [dpdk-dev] [PATCH 34/40] table: add exact match table Cristian Dumitrescu
- [dpdk-dev] [PATCH 32/40] port: add ethernet device po... Cristian Dumitrescu
- [dpdk-dev] [PATCH 35/40] examples/pipeline: add new e... Cristian Dumitrescu
- [dpdk-dev] [PATCH 37/40] examples/pipeline: add confi... Cristian Dumitrescu
- [dpdk-dev] [PATCH 36/40] examples/pipeline: add messa... Cristian Dumitrescu
- [dpdk-dev] [PATCH 39/40] examples/pipeline: add l2fwd... Cristian Dumitrescu
- [dpdk-dev] [PATCH 38/40] examples/pipeline: add l2fwd... Cristian Dumitrescu
- [dpdk-dev] [PATCH 40/40] examples/pipeline: add VXLAN... Cristian Dumitrescu
- Re: [dpdk-dev] [PATCH 40/40] examples/pipeline: ... Stephen Hemminger
- Re: [dpdk-dev] [PATCH 40/40] examples/pipeli... Dumitrescu, Cristian
- Re: [dpdk-dev] [PATCH 00/40] Pipeline alignment with ... Wang, Han2