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 456EE37B4 for ; Wed, 18 Jan 2017 10:01:21 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP; 18 Jan 2017 01:01:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,248,1477983600"; d="scan'208";a="55262127" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by fmsmga006.fm.intel.com with ESMTP; 18 Jan 2017 01:01:19 -0800 Date: Wed, 18 Jan 2017 17:03:33 +0800 From: Yuanhan Liu To: Sergey Vyazmitinov Cc: olivier.matz@6wind.com, ferruh.yigit@intel.com, dev@dpdk.org, Stephen Hemminger Message-ID: <20170118090333.GQ10293@yliu-dev.sh.intel.com> References: <1484729515-2949-1-git-send-email-s.vyazmitinov@brain4net.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1484729515-2949-1-git-send-email-s.vyazmitinov@brain4net.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v3] kni: use bulk functions to allocate and free mbufs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 09:01:22 -0000 On Wed, Jan 18, 2017 at 03:51:55PM +0700, Sergey Vyazmitinov wrote: > Optimized kni_allocate_mbufs and kni_free_mbufs by using mbuf bulk > functions. This can improve performance more than two times. > > Signed-off-by: Sergey Vyazmitinov > --- > v2: > * CSG fixes. > v3: > * Fixed issue with possible different mempools in buffer list. > * Fixed issue with wrong rte_pktmbuf_alloc_bulk function return value > processing in the kni_allocate_mbufs. Hi, Few thing to note here: - You should Cc all guys involved in last discussion, but not just the maintainers listed in the MAINTAINERS file. They gave your (valuable) comments, show some respect to them. - You can't simply grab the code from Stephen and take it as yours. You don't even mention him anywhere in this patch. You should at least add something like "Suggested-by: Stephen ..." Or better, separate the patch into two: one to introduce bulk free and mark Stephen as the author, and another one to apply it to KNI. --yliu