[dpdk-dev] [PATCH v2 0/6] Mbuf structure Rework, part 1

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Sep 17 11:30:22 CEST 2014


2014-08-28 16:42, Bruce Richardson:
> This patch set does some initial pre-work to prepare the mbuf data structure
> (and ixgbe vector driver to a lesser extent) for more major changes which
> will follow on in a subsequent patch set. [See previous RFC patch set for
> more indications of the future coming changes].
> 
> The main changes here are the flattening out of the mbuf data structure, with
> much of it based off work by Olivier. The ctrlmbuf and pktmbuf structures are
> now gone, as is the vlan_macip structure. However, in this set, the concept
> of having a separate ctrl mbuf type is kept around. The plan is in a later set
> when we expand the flags field to 64-bits, we can use a single bit in the flags
> to indicate a control packet. For now, though, the ctrlmbuf functions and macros
> just are aliases for the pktmbuf equivalents as much as possible. 
> 
> Changes in V2:
> * Fix newly-introduced style issues flagged by checkpatch
> * Update to apply cleanly to latest head
> 
> Bruce Richardson (3):
>   ixgbe: put only non-zero initializer in definition
>   mbuf: rename in_port to just port
>   mbuf: flatten struct vlan_macip into mbuf struct
> 
> Olivier Matz (3):
>   mbuf: rename RTE_MBUF_SCATTER_GATHER into RTE_MBUF_REFCNT
>   mbuf: remove rte_ctrlmbuf
>   mbuf: remove the rte_pktmbuf structure

Applied for version 1.8.0.

Thanks
-- 
Thomas


More information about the dev mailing list