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 8A88DC166 for ; Thu, 18 Feb 2016 10:22:45 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 18 Feb 2016 01:20:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,464,1449561600"; d="scan'208";a="654897816" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 18 Feb 2016 01:20:20 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Feb 2016 01:20:20 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Feb 2016 01:20:20 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.172]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.84]) with mapi id 14.03.0248.002; Thu, 18 Feb 2016 17:20:18 +0800 From: "He, Shaopeng" To: "Chen, Jing D" , "Qiu, Michael" , "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH] fm10k: optimize legacy TX func Thread-Index: AQHRWbDOOO5jSDoE20uFAjuvum4xOZ8xp10w Date: Thu, 18 Feb 2016 09:20:18 +0000 Message-ID: References: <1453974359-20895-1-git-send-email-jing.d.chen@intel.com> In-Reply-To: <1453974359-20895-1-git-send-email-jing.d.chen@intel.com> Accept-Language: zh-CN, 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] fm10k: optimize legacy TX func 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: Thu, 18 Feb 2016 09:22:46 -0000 Hi, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Chen Jing D(Mark) > Sent: Thursday, January 28, 2016 5:46 PM > To: Qiu, Michael; Ananyev, Konstantin > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] fm10k: optimize legacy TX func >=20 > From: "Chen Jing D(Mark)" >=20 > When legacy TX func tries to free a bunch of mbufs, it will free > them one by one. This change will scan the free list and merge the > requests in case they belongs to same pool, then free once, which > will reduce cycles on freeing mbufs. >=20 > Signed-off-by: Chen Jing D(Mark) Acked-by: Shaopeng He