From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yang, Qiming" Subject: FW: [PATCH] net/i40e: fix vlan insert code redundance Date: Mon, 13 Feb 2017 10:09:14 +0000 Message-ID: References: <1486689994-37746-1-git-send-email-qiming.yang@intel.com> <0425f979-8198-4cc8-f70b-f1c9a037fd7f@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "Wu, Jingjing" To: "Yigit, Ferruh" , "dev@dpdk.org" Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A281E11D4 for ; Mon, 13 Feb 2017 11:09:18 +0100 (CET) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, Ferruh > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yang, Qiming > Sent: Friday, February 10, 2017 7:21 PM > To: Yigit, Ferruh ; dev@dpdk.org > Cc: Wu, Jingjing > Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix vlan insert code redundance >=20 > > On 2/10/2017 1:26 AM, Qiming Yang wrote: > > > This patch removed useless tx_flags in vlan insertion. > > > > Overall this looks good, I wonder what was the initial intention of > > this code, understanding it helps to figure out if there is a hidden de= fect. >=20 > Thank you for your remind. I'll investigate it. I have aligned with Helin (he contribute these code), and make sure these c= ode is useless, these code is left by history. >=20 > > > > This code not fixes a defect, but improves the code, is there any > > performance gain with this? >=20 > I'll do more test and give you a feedback. According to my test, this code will not bring any obvious performance gain= , and no lose also. And as you said this is not a bug fix, should I remove the fix line and mod= ify the commit log? >=20 > > If not, I am for deferring this to next release. > > > > > > > > Fixes: 4861cde46116 ("i40e: new poll mode driver") > > > > > > Signed-off-by: Qiming Yang > > > ---