[dpdk-dev] [PATCH 0/3] Adjust mbuf flag definitions

Bruce Richardson bruce.richardson at intel.com
Fri Oct 3 17:36:49 CEST 2014


This patchset does some cleanup work on the mbuf flag definitions. It is 
based off the ideas discussed in the previous RFC patch. 
[Ref: http://thread.gmane.org/gmane.comp.networking.dpdk.devel/6155]

Summary of changes:
* Adjust TX flags to start at bit 55 in flags field and work downwards,
  leaving bits 56 upward reserved for generic mbuf flags, i.e. non-offload
  flags.
* Update the existing RX flags to be in a similar format to the newly
  redefined TX flags for clarity.
* Finally we add a comment for the ctrl mbuf flag to ensure all flags are
  properly documented.

Bruce Richardson (3):
  mbuf: move TX flags to group them near end of field
  mbuf: RX flag format update
  mbuf: add comment for ctrl mbuf flag

 lib/librte_mbuf/rte_mbuf.h | 65 +++++++++++++++++++++++++---------------------
 1 file changed, 36 insertions(+), 29 deletions(-)

-- 
1.9.3



More information about the dev mailing list