From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 5CACD7CB6 for ; Fri, 22 Sep 2017 09:29:58 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Sep 2017 00:29:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,427,1500966000"; d="scan'208";a="131267870" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 22 Sep 2017 00:29:47 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 22 Sep 2017 00:29:47 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 22 Sep 2017 00:29:47 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.152]) with mapi id 14.03.0319.002; Fri, 22 Sep 2017 15:29:45 +0800 From: "Xing, Beilei" To: "Rybalchenko, Kirill" , "dev@dpdk.org" CC: "Rybalchenko, Kirill" , "Chilikin, Andrey" , "Wu, Jingjing" Thread-Topic: [dpdk-dev] [PATCH v3 2/6] net/i40e: add definition for invalid pctype Thread-Index: AQHTMh15rlFcKNkPH0aLJ0GJZtslyqLAhFog Date: Fri, 22 Sep 2017 07:29:45 +0000 Message-ID: <94479800C636CB44BD422CB454846E0132036423@SHSMSX101.ccr.corp.intel.com> References: <1504278166-32769-1-git-send-email-kirill.rybalchenko@intel.com> <1505917983-119112-1-git-send-email-kirill.rybalchenko@intel.com> <1505917983-119112-3-git-send-email-kirill.rybalchenko@intel.com> In-Reply-To: <1505917983-119112-3-git-send-email-kirill.rybalchenko@intel.com> 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 Subject: Re: [dpdk-dev] [PATCH v3 2/6] net/i40e: add definition for invalid pctype X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2017 07:29:58 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Kirill Rybalchenko > Sent: Wednesday, September 20, 2017 10:33 PM > To: dev@dpdk.org > Cc: Rybalchenko, Kirill ; Chilikin, Andrey > ; Xing, Beilei ; Wu, > Jingjing > Subject: [dpdk-dev] [PATCH v3 2/6] net/i40e: add definition for invalid > pctype >=20 > Add new definition in enum i40e_filter_pctype for for invalid pctype >=20 > Signed-off-by: Kirill Rybalchenko > --- > drivers/net/i40e/base/i40e_type.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/i40e/base/i40e_type.h > b/drivers/net/i40e/base/i40e_type.h > index dca725a..d57986e 100644 > --- a/drivers/net/i40e/base/i40e_type.h > +++ b/drivers/net/i40e/base/i40e_type.h > @@ -1245,9 +1245,11 @@ struct i40e_filter_program_desc { >=20 > /* Packet Classifier Types for filters */ enum i40e_filter_pctype { > - /* Note: Values 0-28 are reserved for future use. > + /* Note: Vlue 0 is not valid pctype. > + * Values 0-28 are reserved for future use. > * Value 29, 30, 32 are not supported on XL710 and X710. > */ > + I40E_FILTER_PCTYPE_INVALID =3D 0, We'd better not to change base code which is aligned with kernel driver. We can add macro in i40e_ethdev.h. > I40E_FILTER_PCTYPE_NONF_UNICAST_IPV4_UDP =3D 29, > I40E_FILTER_PCTYPE_NONF_MULTICAST_IPV4_UDP =3D 30, > I40E_FILTER_PCTYPE_NONF_IPV4_UDP =3D 31, > -- > 2.5.5