From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 634519619 for ; Fri, 13 May 2016 15:52:16 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 13 May 2016 06:52:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,614,1455004800"; d="scan'208";a="965877705" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by fmsmga001.fm.intel.com with ESMTP; 13 May 2016 06:52:15 -0700 Received: from irsmsx109.ger.corp.intel.com ([169.254.13.120]) by irsmsx110.ger.corp.intel.com ([169.254.15.57]) with mapi id 14.03.0248.002; Fri, 13 May 2016 14:52:12 +0100 From: "Pattan, Reshma" To: Jerin Jacob , "dev@dpdk.org" CC: "thomas.monjalon@6wind.com" , "Richardson, Bruce" , Maciej Czekaj , Kamil Rytarowski , Zyta Szpak , Slawomir Rosek , Radoslaw Biernacki Thread-Topic: [dpdk-dev] [PATCH 06/20] thunderx/nicvf: add dev_infos_get support Thread-Index: AQHRqHPM6zd8Za5QiUiEz2Ou9QQo15+267/A Date: Fri, 13 May 2016 13:52:12 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F01025D5C@IRSMSX109.ger.corp.intel.com> References: <1462634198-2289-1-git-send-email-jerin.jacob@caviumnetworks.com> <1462634198-2289-7-git-send-email-jerin.jacob@caviumnetworks.com> In-Reply-To: <1462634198-2289-7-git-send-email-jerin.jacob@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDQzMGM3NGUtN2ZhNC00OWM3LTg1NTktYTY1MGU1YTlkNDczIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Im5jcWFFODU3MVBuY29TcHZVMk03MjZVSHczM0QxNjc5TXEydG51Y2p4YzQ9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 06/20] thunderx/nicvf: add dev_infos_get support 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, 13 May 2016 13:52:16 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jerin Jacob > Sent: Saturday, May 7, 2016 4:16 PM > To: dev@dpdk.org > Cc: thomas.monjalon@6wind.com; Richardson, Bruce > ; Jerin Jacob > ; Maciej Czekaj > ; Kamil Rytarowski > ; Zyta Szpak > ; Slawomir Rosek ; > Radoslaw Biernacki > Subject: [dpdk-dev] [PATCH 06/20] thunderx/nicvf: add dev_infos_get suppo= rt >=20 > diff --git a/drivers/net/thunderx/nicvf_ethdev.h > b/drivers/net/thunderx/nicvf_ethdev.h > index cc19da5..da6fdcf 100644 > --- a/drivers/net/thunderx/nicvf_ethdev.h > +++ b/drivers/net/thunderx/nicvf_ethdev.h > @@ -42,6 +42,23 @@ > #define NICVF_FULL_DUPLEX 0x01 > #define NICVF_UNKNOWN_DUPLEX 0xff >=20 > +#define NICVF_RSS_OFFLOAD_PASS1 ( \ > + ETH_RSS_PORT | \ > + ETH_RSS_IPV4 | \ > + ETH_RSS_NONFRAG_IPV4_TCP | \ > + ETH_RSS_NONFRAG_IPV4_UDP | \ > + ETH_RSS_IPV6 | \ > + ETH_RSS_NONFRAG_IPV6_TCP | \ > + ETH_RSS_NONFRAG_IPV6_UDP) > + > +#define NICVF_RSS_OFFLOAD_TUNNEL ( \ > + ETH_RSS_VXLAN | \ > + ETH_RSS_GENEVE | \ > + ETH_RSS_NVGRE) > + > +#define DEFAULT_RX_FREE_THRESH 224 > +#define DEFAULT_TX_FREE_THRESH 224 > +#define DEFAULT_TX_FREE_MPOOL_THRESH 16 >=20 How about prefixing these 3 macronames with NICVF? Like the previous ones. Thanks, Reshma