[dpdk-dev] [PATCH RFC 06/11] mbuf: replace data pointer by an offset

Olivier MATZ olivier.matz at 6wind.com
Mon May 12 18:13:26 CEST 2014


Hi Stephen,

On 05/12/2014 05:59 PM, Stephen Hemminger wrote:
> There is one case which this case might make problematic.
> Right now it is possible to clone an mbuf and in the cloned mbuf
> use the associated data buffer as private meta data store.
> This is convenient (like skb->cb in Linux) and avoids addtional
> allocation.

I don't get your point. Why using rte_pktmbuf_mtod(m, char *)
wouldn't work in your case?


More information about the dev mailing list