From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2EC1D8D8D for ; Wed, 14 Oct 2015 20:44:42 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 14 Oct 2015 11:44:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,682,1437462000"; d="scan'208";a="580787166" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by FMSMGA003.fm.intel.com with ESMTP; 14 Oct 2015 11:44:39 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.75]) by IRSMSX101.ger.corp.intel.com ([169.254.1.33]) with mapi id 14.03.0248.002; Wed, 14 Oct 2015 19:44:38 +0100 From: "Ananyev, Konstantin" To: Stephen Hemminger Thread-Topic: [dpdk-dev] [PATCHv5 1/8] ethdev: add new API to retrieve RX/TX queue information Thread-Index: AQHQ/IMUtPeuEWozcUWRVPNvgSh7PZ5rK4EAgAA7zDA= Date: Wed, 14 Oct 2015 18:44:38 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836AAFAC3@irsmsx105.ger.corp.intel.com> References: <1443729293-20753-1-git-send-email-konstantin.ananyev@intel.com> <1443729293-20753-2-git-send-email-konstantin.ananyev@intel.com> <20151014090904.3d632d92@xeon-e3> In-Reply-To: <20151014090904.3d632d92@xeon-e3> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCHv5 1/8] ethdev: add new API to retrieve RX/TX queue information 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: Wed, 14 Oct 2015 18:44:42 -0000 > -----Original Message----- > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > Sent: Wednesday, October 14, 2015 5:09 PM > To: Ananyev, Konstantin > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCHv5 1/8] ethdev: add new API to retrieve RX/= TX queue information >=20 > On Thu, 1 Oct 2015 20:54:46 +0100 > Konstantin Ananyev wrote: >=20 > > + if (nb_rx_desc > dev_info.rx_desc_lim.nb_max || > > + nb_rx_desc < dev_info.rx_desc_lim.nb_min || > > + nb_rx_desc % dev_info.rx_desc_lim.nb_align !=3D 0) { > > + >=20 > Preferred indentation style is to line up the conditional. > if (nb_rx_desc > dev_info.rx_desc_lim.nb_max || > nb_rx_desc < dev_info.rx_desc_lim.nb_min || > nb_rx_desc % dev_info.rx_desc_lim.nb_align !=3D 0) { As I remember within DPDK we use an extra tab as preferred indentation styl= e for several years. Why it suddenly changed now? Konstantin