From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id F39626CCD for ; Tue, 14 Jun 2016 12:16:36 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 14 Jun 2016 03:16:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,470,1459839600"; d="scan'208";a="987079380" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.72]) by fmsmga001.fm.intel.com with SMTP; 14 Jun 2016 03:16:34 -0700 Received: by (sSMTP sendmail emulation); Tue, 14 Jun 2016 11:16:33 +0025 Date: Tue, 14 Jun 2016 11:16:33 +0100 From: Bruce Richardson To: Helin Zhang Cc: dev@dpdk.org Message-ID: <20160614101632.GB18600@bricha3-MOBL3> References: <1462438424-22574-1-git-send-email-helin.zhang@intel.com> <1464070989-32726-1-git-send-email-helin.zhang@intel.com> <1464070989-32726-5-git-send-email-helin.zhang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1464070989-32726-5-git-send-email-helin.zhang@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v2 04/15] i40e/base: trim the code 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, 14 Jun 2016 10:16:37 -0000 On Tue, May 24, 2016 at 02:22:58PM +0800, Helin Zhang wrote: > It trim the source code, with limiting pieces of code for > PF or VF driver only, code style fixes, and annotation > rewording. > > Signed-off-by: Helin Zhang > --- > drivers/net/i40e/base/i40e_adminq.c | 52 +++++++++++++++++++-------------- > drivers/net/i40e/base/i40e_adminq.h | 4 +-- > drivers/net/i40e/base/i40e_adminq_cmd.h | 21 +++++++------ > drivers/net/i40e/base/i40e_common.c | 5 ++-- > drivers/net/i40e/base/i40e_prototype.h | 3 +- > 5 files changed, 48 insertions(+), 37 deletions(-) > The word "trim" generally implies making things shorter, but in this case more lines are added to the code than deleted. The title should therefore be something more like "limit PF/VF specific source code to that driver only". /Bruce