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 3182D58F1 for ; Mon, 10 Nov 2014 18:00:36 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 10 Nov 2014 09:10:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,353,1413270000"; d="scan'208";a="620052631" Received: from ppfinner-mobl3.ger.corp.intel.com ([10.252.17.162]) by fmsmga001.fm.intel.com with SMTP; 10 Nov 2014 09:09:37 -0800 Received: by (sSMTP sendmail emulation); Mon, 10 Nov 2014 17:09:36 +0025 Date: Mon, 10 Nov 2014 17:09:36 +0000 From: Bruce Richardson To: Olivier Matz Message-ID: <20141110170936.GC10776@bricha3-MOBL3> References: <1415635166-1364-1-git-send-email-olivier.matz@6wind.com> <1415635166-1364-4-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1415635166-1364-4-git-send-email-olivier.matz@6wind.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: jigsaw@gmail.com, dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 03/12] mbuf: move vxlan_cksum flag definition at the proper place 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: Mon, 10 Nov 2014 17:00:37 -0000 On Mon, Nov 10, 2014 at 04:59:17PM +0100, Olivier Matz wrote: > The tx mbuf flags are ordered from the highest value to the > the lowest. Move the PKT_TX_VXLAN_CKSUM at the right place. > > Signed-off-by: Olivier Matz Acked-by: Bruce Richardson > --- > lib/librte_mbuf/rte_mbuf.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h > index e8f9bfc..be15168 100644 > --- a/lib/librte_mbuf/rte_mbuf.h > +++ b/lib/librte_mbuf/rte_mbuf.h > @@ -96,7 +96,6 @@ extern "C" { > > #define PKT_TX_VLAN_PKT (1ULL << 55) /**< TX packet is a 802.1q VLAN packet. */ > #define PKT_TX_IP_CKSUM (1ULL << 54) /**< IP cksum of TX pkt. computed by NIC. */ > -#define PKT_TX_VXLAN_CKSUM (1ULL << 50) /**< TX checksum of VXLAN computed by NIC */ > #define PKT_TX_IPV4_CSUM PKT_TX_IP_CKSUM /**< Alias of PKT_TX_IP_CKSUM. */ > #define PKT_TX_IPV4 PKT_RX_IPV4_HDR /**< IPv4 with no IP checksum offload. */ > #define PKT_TX_IPV6 PKT_RX_IPV6_HDR /**< IPv6 packet */ > @@ -114,9 +113,10 @@ extern "C" { > #define PKT_TX_UDP_CKSUM (3ULL << 52) /**< UDP cksum of TX pkt. computed by NIC. */ > #define PKT_TX_L4_MASK (3ULL << 52) /**< Mask for L4 cksum offload request. */ > > -/* Bit 51 - IEEE1588*/ > #define PKT_TX_IEEE1588_TMST (1ULL << 51) /**< TX IEEE1588 packet to timestamp. */ > > +#define PKT_TX_VXLAN_CKSUM (1ULL << 50) /**< TX checksum of VXLAN computed by NIC */ > + > /* Use final bit of flags to indicate a control mbuf */ > #define CTRL_MBUF_FLAG (1ULL << 63) /**< Mbuf contains control data */ > > -- > 2.1.0 >