From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH 0/3] Adjust mbuf flag definitions Date: Fri, 3 Oct 2014 16:36:49 +0100 Message-ID: <1412350612-23190-1-git-send-email-bruce.richardson@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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