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 7D60768AE for ; Tue, 22 Jul 2014 11:51:12 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 22 Jul 2014 02:52:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,709,1400050800"; d="scan'208";a="573536286" Received: from fmsmsx107.amr.corp.intel.com ([10.19.9.54]) by fmsmga002.fm.intel.com with ESMTP; 22 Jul 2014 02:52:29 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX107.amr.corp.intel.com (10.19.9.54) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 22 Jul 2014 02:52:28 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 22 Jul 2014 02:52:29 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.120]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.188]) with mapi id 14.03.0123.003; Tue, 22 Jul 2014 17:52:26 +0800 From: "Chen, Jing D" To: Thomas Monjalon , "Ouyang, Changchun" Thread-Topic: [dpdk-dev] [PATCH 0/3] Rename field name for RX/TX queue start/stop Thread-Index: AQHPpZC1aL+xhuOxRUyBJCq6kzUtFZur1wuw Date: Tue, 22 Jul 2014 09:52:26 +0000 Message-ID: <4341B239C0EFF9468EE453F9E9F4604D015ADC4F@shsmsx102.ccr.corp.intel.com> References: <1406015252-27804-1-git-send-email-changchun.ouyang@intel.com> <2633548.rrHgnQHcZ9@xps13> In-Reply-To: <2633548.rrHgnQHcZ9@xps13> 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 0/3] Rename field name for RX/TX queue start/stop 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: Tue, 22 Jul 2014 09:51:12 -0000 Hi Thomas, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, July 22, 2014 5:38 PM > To: Ouyang, Changchun > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/3] Rename field name for RX/TX queue > start/stop >=20 > Hi, >=20 > 2014-07-22 15:47, Ouyang Changchun: > > This patch series include 3 things: > > 1) Rename the field name from start_rx_per_q to rx_enable_queue in > > struct rte_eth_rxconf, and do same thing for TX. > > This patch also update description for field rx_enable_queue and > tx_enable_queue. > > 2) According to 1), update field name from start_rx_per_q to > rx_enable_queue in struct igb_rx_queue > > in ixgbe PMD, do same thing for TX. > > 3) Update its reference in sample vhost. >=20 > In order to be atomic (and do not break git bisect), you should submit > it in one patch. > Title would be "ethdev: rename queue enabler field" or something like tha= t. > But the most important in such change is to explain why you make it. >=20 > Thanks > -- > Thomas The reason adding this patch is that "start_rx_per_q" and "start_tx_per_q" = has requirement in NIC driver in some cases. The implication includes: 1. don't fill mbuf address in RX ring in later dev start function call. 2. don't try to switch this rx/tx queues on in later dev start function cal= l. Instead, application will call rte_eth_dev_rx/tx_queue_start/stop to co= ntrol this queue. If the NIC driver tried to support these 2 options, it will have to satisfy= above 2 conditions. But the problem is that the 2 fields definition don't = have a word to claim on their requirement. So, we needs this patch and add comme= nts.=20 As for renaming, it's not so important. Just for better understanding.=20 =20