From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/3] cxgbe: Fix RX performance for cxgbe PMD. Date: Tue, 07 Jul 2015 23:30:38 +0200 Message-ID: <6332495.cKaf3cHUcn@xps13> References: <96172d6f608d59f6d8463d407f21d08a963d6d5a.1436288467.git.rahul.lakkireddy@chelsio.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Felix Marti , Nirranjan Kirubaharan , Kumar Sanghvi To: Rahul Lakkireddy Return-path: Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id F1C7FA10 for ; Tue, 7 Jul 2015 23:31:48 +0200 (CEST) Received: by wgfr2 with SMTP id r2so24245257wgf.1 for ; Tue, 07 Jul 2015 14:31:48 -0700 (PDT) In-Reply-To: <96172d6f608d59f6d8463d407f21d08a963d6d5a.1436288467.git.rahul.lakkireddy@chelsio.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-07-07 22:42, Rahul Lakkireddy: > CXGBE PMD rx allocates a new mbuf everytime, which could lead to performance > hit. Instead, do bulk allocation of mbufs and re-use them. > > Also, simplify the overall rx-handler, and update its logic to fix rx perf. For such change, it would be nice to provide some benchmark numbers. Thanks