From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 0AE8EE82 for ; Fri, 3 Oct 2014 17:30:02 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 03 Oct 2014 08:30:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,647,1406617200"; d="scan'208";a="612746663" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 03 Oct 2014 08:36:53 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id s93FaqOS032541; Fri, 3 Oct 2014 16:36:53 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s93Faqdl023225; Fri, 3 Oct 2014 16:36:52 +0100 Received: (from bricha3@localhost) by sivswdev02.ir.intel.com with id s93Faq51023221; Fri, 3 Oct 2014 16:36:52 +0100 From: Bruce Richardson To: dev@dpdk.org Date: Fri, 3 Oct 2014 16:36:49 +0100 Message-Id: <1412350612-23190-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH 0/3] Adjust mbuf flag definitions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2014 15:30:03 -0000 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