[dpdk-dev] [PATCH] lib: fix RTE_MBUF_METADATA macros

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Jun 22 22:42:46 CEST 2015


2015-06-22 13:23, Cyril Chemparathy:
> On Mon, 22 Jun 2015 22:16:59 +0200
> Thomas Monjalon <thomas.monjalon at 6wind.com> wrote:
> > Cyril, feel free to fix it if it breaks with Tile arch.
> 
> Why define these locally within rte_port.h? Shouldn't these macros
> really be in rte_mbuf.h?

No, an application is free to put its metadata elsewhere.
The packet framework (port/table/pipeline) did the choice to put
some metadata here but there is no need to enforce it for everybody.


More information about the dev mailing list