Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933617AbbGVRrQ (ORCPT ); Wed, 22 Jul 2015 13:47:16 -0400 Received: from smtprelay0223.hostedemail.com ([216.40.44.223]:53682 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756790AbbGVRrO (ORCPT ); Wed, 22 Jul 2015 13:47:14 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::,RULES_HIT:41:355:379:541:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2195:2199:2393:2559:2562:2693:2732:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3872:4321:5007:6261:7903:10004:10400:10848:11026:11232:11473:11658:11914:12295:12438:12517:12519:12555:12740:13019:13069:13311:13357:14096:14097:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: kiss58_217af62f15c0d X-Filterd-Recvd-Size: 2331 Message-ID: <1437587228.20787.26.camel@perches.com> Subject: Re: [PATCH 03/10] dpaa_eth: add configurable bpool thresholds From: Joe Perches To: madalin.bucur@freescale.com Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, scottwood@freescale.com, igal.liberman@freescale.com, ppc@mindchasers.com, pebolle@tiscali.nl, joakim.tjernlund@transmode.se Date: Wed, 22 Jul 2015 10:47:08 -0700 In-Reply-To: <1437581806-17420-3-git-send-email-madalin.bucur@freescale.com> References: <1437581806-17420-1-git-send-email-madalin.bucur@freescale.com> <1437581806-17420-2-git-send-email-madalin.bucur@freescale.com> <1437581806-17420-3-git-send-email-madalin.bucur@freescale.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1435 Lines: 35 On Wed, 2015-07-22 at 19:16 +0300, Madalin Bucur wrote: > Allow the user to tweak the refill threshold and the total number > of buffers in the buffer pool. The provided values are for one CPU. Any value in making these module parameters instead? > +config FSL_DPAA_ETH_MAX_BUF_COUNT > + int "Maximum number of buffers in private bpool" > + range 64 2048 > + default "128" > + ---help--- > + The maximum number of buffers to be by default allocated in the DPAA-Ethernet private port's > + buffer pool. One needn't normally modify this, as it has probably been tuned for performance > + already. This cannot be lower than DPAA_ETH_REFILL_THRESHOLD. > + > +config FSL_DPAA_ETH_REFILL_THRESHOLD > + int "Private bpool refill threshold" > + range 32 FSL_DPAA_ETH_MAX_BUF_COUNT > + default "80" > + ---help--- > + The DPAA-Ethernet driver will start replenishing buffer pools whose count > + falls below this threshold. This must be related to DPAA_ETH_MAX_BUF_COUNT. One needn't normally > + modify this value unless one has very specific performance reasons. > + > config FSL_DPAA_CS_THRESHOLD_1G > hex "Egress congestion threshold on 1G ports" > range 0x1000 0x10000000 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/