From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id 32491C3B4 for ; Mon, 3 Aug 2015 23:46:54 +0200 (CEST) Received: by wibxm9 with SMTP id xm9so139857091wib.0 for ; Mon, 03 Aug 2015 14:46:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=fDgCSjRU7m/EJu/tEq2xFxBG+YVGNxEhO0wgK6wRG7E=; b=Vn5dOIMJkhE2VCmROtMIle6ouv2IuUgS6imlum3430v3FWSsEZze8GqTisRlh5uTw8 Dr9+pxG61k5eTHU3KsX+UTHH0e+A0DGy/hv9s2sCT5T4WEfwAXgCouOHAzxdlzh8uqiF Tp5Fakbu+mhuRLmYR5rqpgQ7KVDx6BeAvqp0EGV2i6Ze+VWj7ftg4eQ8iSBLoeObYsYW kRA1A3mmp04Kly/W+Ry10iLBvPj2CiWayjleFcEfGRRPMm1j+16tLTuxPdoea3mbl8xW ysMUPch9YaRd1TGI4rOB+vrTxg2gQlXG6JqErsGkDjamCJ449GfesY5g/0jxmHHuW0JC 0rSA== X-Gm-Message-State: ALoCoQn8jtG6GGZ5qvvp9rDoZ3d3aSN6gTDmdH/dWbhdj3A4epOa4mTvDSE5hik7M5NlMLVpD2Ho X-Received: by 10.194.216.68 with SMTP id oo4mr344052wjc.81.1438638414072; Mon, 03 Aug 2015 14:46:54 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id uc3sm15539195wib.2.2015.08.03.14.46.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 14:46:53 -0700 (PDT) From: Thomas Monjalon To: "Liu, Yong" Date: Mon, 03 Aug 2015 23:45:38 +0200 Message-ID: <3134746.zTmlkJngrL@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <9BB6961774997848B5B42BEC655768F8C92AA1@SHSMSX104.ccr.corp.intel.com> References: <1438140121-9011-1-git-send-email-yong.liu@intel.com> <9BB6961774997848B5B42BEC655768F8C92AA1@SHSMSX104.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] app test: fix mempool cache_size not match limited cache_size 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: Mon, 03 Aug 2015 21:46:54 -0000 > > From: Marvin Liu > > > > In previous setting, mempool size and cache_size are both 32. > > This is not satisfied with cache_size checking rule by now. > > Cache size should less than CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE and > > mempool size / 1.5. > > > > Signed-off-by: Marvin Liu > > > Acked-by: Jingjing Wu > > #define NB_MBUF 32 > > #define MBUF_DATA_SZ (2048 + RTE_PKTMBUF_HEADROOM) > > -#define PKT_BURST_SZ 32 > > +#define PKT_BURST_SZ 0 > > #define MEMPOOL_CACHE_SZ PKT_BURST_SZ > > #define SOCKET 0 Applied after removing PKT_BURST_SZ, thanks