From owner-freebsd-current@FreeBSD.ORG Wed Nov 30 18:01:30 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59846106566C for ; Wed, 30 Nov 2011 18:01:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 162C08FC15 for ; Wed, 30 Nov 2011 18:01:29 +0000 (UTC) Received: by iakl21 with SMTP id l21so1727060iak.13 for ; Wed, 30 Nov 2011 10:01:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=pfi/C7BCe3M5JJeaVQwtRNoAqtIu/61CkoRmmAePr2s=; b=D9hRZM7vVm/TZ9dfdBQ+ZeyQlIDsaXCD/2I6vdQtPifjHM4GUffR3GpiEo2ITsE9zp 5SoLzfKd1R+IZKKNC8d/aZkGb59IBIWwjduixKlj5LBvBX1ciIW9z3AxCr1jsP4F5VVO Kv9ddEu03vCiguxkAJ9LG3o1ReBL/X+Wl+F+8= Received: by 10.42.117.193 with SMTP id u1mr4384431icq.24.1322676089490; Wed, 30 Nov 2011 10:01:29 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id v18sm10612728ibh.4.2011.11.30.10.01.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Nov 2011 10:01:28 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 30 Nov 2011 10:00:00 -0800 From: YongHyeon PYUN Date: Wed, 30 Nov 2011 10:00:00 -0800 To: Florian Wilkemeyer Message-ID: <20111130180000.GA9323@michelle.cdnetworks.com> References: <4ED63C2D.8020209@f-ws.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ED63C2D.8020209@f-ws.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, davidch@freebsd.org Subject: Re: if_bce tx / rx tick limits X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2011 18:01:30 -0000 On Wed, Nov 30, 2011 at 03:22:37PM +0100, Florian Wilkemeyer wrote: > Hi, > > i wonder about the bce driver's tx / rx tick limits > (ticks and ticks_int are limited to 100; otherwise default value (80) > gets used) > > (if_bce.c line 921 / 933 .. ) > I think this highly depends on firmware of controller. David may be able to answer(CCed). > On DragonFly BSD the values can be set much higher (such as 1000 ..) > which would be great in a high-traffic setup. > (On linux there's no limit too as far as i remember) > No, the value should be represented with 10bits so having no limit looks like a bug in Linux. > > > Is there any reason why its limited down to 100? > > > Thanks > Florian > > > P.S. > I'm sorry if this was the wrong mailing list for it; i don't know whats > the right list for this (probably net or driver ?)