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 BC2F9C44A for ; Thu, 30 Jul 2015 07:52:31 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 29 Jul 2015 22:52:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,575,1432623600"; d="scan'208";a="772990420" Received: from kmsmsx151.gar.corp.intel.com ([172.21.73.86]) by fmsmga002.fm.intel.com with ESMTP; 29 Jul 2015 22:52:30 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by KMSMSX151.gar.corp.intel.com (172.21.73.86) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 30 Jul 2015 13:49:08 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.45]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.38]) with mapi id 14.03.0224.002; Thu, 30 Jul 2015 13:49:07 +0800 From: "Wu, Jingjing" To: "Liu, Yong" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app test: fix mempool cache_size not match limited cache_size Thread-Index: AQHQya3fX+r4jF5mD0+0MYfLr2Ovbp3zgwNQ Date: Thu, 30 Jul 2015 05:49:05 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F8C92AA1@SHSMSX104.ccr.corp.intel.com> References: <1438140121-9011-1-git-send-email-yong.liu@intel.com> In-Reply-To: <1438140121-9011-1-git-send-email-yong.liu@intel.com> Accept-Language: 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 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: Thu, 30 Jul 2015 05:52:32 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yong Liu > Sent: Wednesday, July 29, 2015 11:22 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] app test: fix mempool cache_size not match > limited cache_size >=20 > From: Marvin Liu >=20 > 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. >=20 > Signed-off-by: Marvin Liu >=20 Acked-by: Jingjing Wu > diff --git a/app/test/test_sched.c b/app/test/test_sched.c index > 1ef6910..7a38db3 100644 > --- a/app/test/test_sched.c > +++ b/app/test/test_sched.c > @@ -87,7 +87,7 @@ static struct rte_sched_port_params port_param =3D { >=20 > #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 >=20 > -- > 1.9.3