[dpdk-dev] [PATCH v2 3/6] mbuf: remove rte_ctrlmbuf
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Fri Sep 5 18:15:06 CEST 2014
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson
> Sent: Thursday, August 28, 2014 4:43 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v2 3/6] mbuf: remove rte_ctrlmbuf
>
> From: Olivier Matz <olivier.matz at 6wind.com>
>
> The initial role of rte_ctrlmbuf is to carry generic messages (data
> pointer + data length) but it's not used by the DPDK or it applications.
> Keeping it implies:
> - loosing 1 byte in the rte_mbuf structure
> - having some dead code rte_mbuf.[ch]
>
> This patch removes this feature. Thanks to it, it is now possible to
> simplify the rte_mbuf structure by merging the rte_pktmbuf structure
> in it. This is done in next commit.
>
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
>
> * Updated patch to HEAD.
> * Modified patch to retain the old function names for ctrl mbufs as
> macros. This helps with app compatibility, and allows the concept
> of a control mbuf to be reintroduced via a single-bit flag in
> a future change.
> * Updated the packet framework ip_pipeline example application to
> work following this change.
>
> Changes in v2:
> * Fixed whitespace errors introduced by this patch flagged by checkpatch
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by Pablo de Lara <pablo.de.lara.guarch at intel.com>
More information about the dev
mailing list