On Thu, 24 Oct 2019 17:44:09 +0200
Thomas Monjalon wrote:
> 24/10/2019 17:30, Stephen Hemminger:
> > On Thu, 24 Oct 2019 10:13:37 +0200
> > Olivier Matz wrote:
> >
> > > +/**
> > > + * Copy dynamic fields from msrc to mdst.
> > > + *
> > > + * @param mdst
> > > + * The destination mbuf.
> >
24/10/2019 10:13, Olivier Matz:
> Many features require to store data inside the mbuf. As the room in mbuf
> structure is limited, it is not possible to have a field for each
> feature. Also, changing fields in the mbuf structure can break the API
> or ABI.
>
> This commit addresses these issues,
24/10/2019 17:30, Stephen Hemminger:
> On Thu, 24 Oct 2019 10:13:37 +0200
> Olivier Matz wrote:
>
> > +/**
> > + * Copy dynamic fields from msrc to mdst.
> > + *
> > + * @param mdst
> > + * The destination mbuf.
> > + * @param msrc
> > + * The source mbuf.
> > + */
> > +static inline void
> >
On Thu, 24 Oct 2019 10:13:37 +0200
Olivier Matz wrote:
>
> +/**
> + * Copy dynamic fields from msrc to mdst.
> + *
> + * @param mdst
> + * The destination mbuf.
> + * @param msrc
> + * The source mbuf.
> + */
> +static inline void
> +rte_mbuf_dynfield_copy(struct rte_mbuf *mdst, const struc
Many features require to store data inside the mbuf. As the room in mbuf
structure is limited, it is not possible to have a field for each
feature. Also, changing fields in the mbuf structure can break the API
or ABI.
This commit addresses these issues, by enabling the dynamic registration
of fiel
5 matches
Mail list logo