Re: [dpdk-dev] advice to pmd maintainters: do not touch mbuf initialized fields

2017-07-08 Thread Thomas Monjalon
08/06/2017 11:06, Olivier Matz: > Hi, > > In the structure reorganization patchset [1], some work was done > to ensure that the values of the following fields are always initialized > for mbuf that are inside the mbuf pool (not yet allocated). > > In other words, calling rte_mbuf_raw_alloc() or r

[dpdk-dev] advice to pmd maintainters: do not touch mbuf initialized fields

2017-06-08 Thread Olivier Matz
Hi, In the structure reorganization patchset [1], some work was done to ensure that the values of the following fields are always initialized for mbuf that are inside the mbuf pool (not yet allocated). In other words, calling rte_mbuf_raw_alloc() or rte_mempool_get() return mbufs that are initial