From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id ACBF76AAE for ; Fri, 5 Dec 2014 02:46:37 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 04 Dec 2014 17:46:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,519,1413270000"; d="scan'208";a="632993758" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga001.fm.intel.com with ESMTP; 04 Dec 2014 17:46:35 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id sB51kXsX031824; Fri, 5 Dec 2014 09:46:33 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id sB51kUhZ015638; Fri, 5 Dec 2014 09:46:32 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id sB51kTLR015634; Fri, 5 Dec 2014 09:46:29 +0800 From: Helin Zhang To: dev@dpdk.org Date: Fri, 5 Dec 2014 09:46:26 +0800 Message-Id: <1417743988-15604-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1416982032-28519-1-git-send-email-helin.zhang@intel.com> References: <1416982032-28519-1-git-send-email-helin.zhang@intel.com> Subject: [dpdk-dev] [PATCH v2 0/2] fix of enabling all newly added error flags 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, 05 Dec 2014 01:46:38 -0000 Before redefining mbuf structure, there was lack of free bits in 'ol_flags' (32 bits in total) for new RX or TX flags. So it tried to reuse existant bits as most as possible, or even assigning 0 to some of bit flags. After new mbuf structure defined, there are quite a lot of free bits. So those newly added bit flags should be assigned with correct and valid bit values, and getting their names should be enabled as well. Note that 'RECIP' should be removed, as nowhere will use it. v2 changes: * Removed error flag of 'ECIPE' processing only in both i40e PMD and mbuf. All other error flags were added back. * Assigned error flags with correct and valid values, as their previous values were invalid. * Enabled getting all error flag names. Helin Zhang (2): i40e: remove checking rxd flag which is not public mbuf: assign valid bit values for some RX and TX flags lib/librte_mbuf/rte_mbuf.c | 9 ++++----- lib/librte_mbuf/rte_mbuf.h | 19 +++++++++---------- lib/librte_pmd_i40e/i40e_rxtx.c | 6 ------ 3 files changed, 13 insertions(+), 21 deletions(-) -- 1.9.3