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 B268FB110 for ; Thu, 12 Jun 2014 03:38:44 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 11 Jun 2014 18:38:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,461,1400050800"; d="scan'208";a="554135445" Received: from fmsmsx106.amr.corp.intel.com ([10.19.9.37]) by fmsmga002.fm.intel.com with ESMTP; 11 Jun 2014 18:38:58 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.19.9.28) by FMSMSX106.amr.corp.intel.com (10.19.9.37) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 11 Jun 2014 18:38:58 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX119.amr.corp.intel.com (10.19.9.28) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 11 Jun 2014 18:38:57 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.122]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.81]) with mapi id 14.03.0123.003; Thu, 12 Jun 2014 09:38:56 +0800 From: "Zhang, Helin" To: 'Stephen Hemminger' Thread-Topic: [dpdk-dev] [PATCH v2 05/27] mbuf: add new packet flags for i40e Thread-Index: AQHPgNMbWA1aHfn50Ee+zY3eODlbJptjOllwgAmB3NA= Date: Thu, 12 Jun 2014 01:38:55 +0000 Message-ID: References: <1401944951-23783-1-git-send-email-helin.zhang@intel.com> <1401944951-23783-6-git-send-email-helin.zhang@intel.com> <20140605083005.7b1029f8@nehalam.linuxnetplumber.net> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2 05/27] mbuf: add new packet flags for i40e 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: Thu, 12 Jun 2014 01:38:45 -0000 Adding cc list. -----Original Message----- From: Zhang, Helin=20 Sent: Friday, June 6, 2014 8:30 AM To: Stephen Hemminger Subject: RE: [dpdk-dev] [PATCH v2 05/27] mbuf: add new packet flags for i40= e Hi Hemminger Thanks for pointing out that! As ol_flags is currently 16 bits, we do not have additional bits for new fl= ags. I just add the flags there, and wait the new mbuf structure to be defi= ned, which will be happen soon. After that, the new values will be added. Regards, Helin -----Original Message----- From: Stephen Hemminger [mailto:stephen@networkplumber.org]=20 Sent: Thursday, June 5, 2014 11:30 PM To: Zhang, Helin Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2 05/27] mbuf: add new packet flags for i40= e On Thu, 5 Jun 2014 13:08:49 +0800 Helin Zhang wrote: > +#define PKT_RX_EIP_CKSUM_BAD 0x0000 /**< External IP header checksum err= or. */ > +#define PKT_RX_OVERSIZE 0x0000 /**< Num of desc of an RX pkt oversi= ze. */ > +#define PKT_RX_HBUF_OVERFLOW 0x0000 /**< Header buffer overflow. */ > +#define PKT_RX_RECIP_ERR 0x0000 /**< Hardware processing error. */ > +#define PKT_RX_MAC_ERR 0x0000 /**< MAC error. */ Flags are useless if all zero!