From owner-freebsd-net@FreeBSD.ORG Sat Oct 5 00:56:21 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 916CF65F; Sat, 5 Oct 2013 00:56:21 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vb0-x22d.google.com (mail-vb0-x22d.google.com [IPv6:2607:f8b0:400c:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1643A2078; Sat, 5 Oct 2013 00:56:21 +0000 (UTC) Received: by mail-vb0-f45.google.com with SMTP id e15so2546831vbg.4 for ; Fri, 04 Oct 2013 17:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FFUzbLcstaePEiDV+rPaEeUks2HX1O4jDW9pu8SvRv0=; b=e7uSbGQGKfhvJCXZwBW/l6kd6ZM38pr7+iXe+mDemm/hmSS1Jt/e9BjtojQ6IMNkcK Qle1R6rRn03hJ78mZMJsmh4ZCs9NKshIW/0ehpD+dz6/+LwOp1Z5/bTOqFJ9m74OI5ai xhZp8gfArtxZLiVrsmNbpeECSKjs7RNja4aC72JEJK/Y2vmv7ghP7PZqosZVYcA2Aykz ytZx3HhqO5rlVmPF1npFVvg/39PeFE6SThD32YvR8aA/c4cuE8tUB8p6UP/URB+COTAd qO2Q/NFuUB0VYjw6rLyxAlWXs+/sN4UcxtU/Ne6SxncffCX2yEvR1RS8OEcppF3pIlZu jOog== MIME-Version: 1.0 X-Received: by 10.58.117.71 with SMTP id kc7mr14757935veb.16.1380934580058; Fri, 04 Oct 2013 17:56:20 -0700 (PDT) Received: by 10.220.159.141 with HTTP; Fri, 4 Oct 2013 17:56:19 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Oct 2013 17:56:19 -0700 Message-ID: Subject: Re: Exposing sysctls for ixgbe From: Jack Vogel To: hiren panchasara Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Jack F Vogel , "freebsd-net@freebsd.org" , Adrian Chadd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Oct 2013 00:56:21 -0000 Good with me Hiren Jack On Fri, Oct 4, 2013 at 2:55 PM, hiren panchasara wrote: > I am going to commit this change in the weekend. > > Let me know if there are any objections. > > Thanks, > Hiren > > > > On Mon, Sep 30, 2013 at 8:51 AM, hiren panchasara wrote: > >> + jfv >> >> >> On Wed, Sep 25, 2013 at 5:35 PM, Adrian Chadd wrote: >> >>> please cc jfv and get them into his driver. :) >>> >>> -a >>> >>> >>> On 24 September 2013 23:53, hiren panchasara wrote: >>> >>>> Any comments? >>>> >>>> cheers, >>>> Hiren >>>> >>>> On Sun, Sep 22, 2013 at 12:01 PM, hiren panchasara >>> >wrote: >>>> >>>> > $ sysctl hw.igb >>>> > hw.igb.rxd: 4096 >>>> > hw.igb.txd: 4096 >>>> > hw.igb.enable_aim: 1 >>>> > hw.igb.enable_msix: 1 >>>> > hw.igb.max_interrupt_rate: 8000 >>>> > hw.igb.buf_ring_size: 4096 >>>> > hw.igb.header_split: 0 >>>> > hw.igb.num_queues: 1 >>>> > hw.igb.rx_process_limit: 100 >>>> > $ sysctl hw.ix >>>> > sysctl: unknown oid 'hw.ix': No such file or directory >>>> > >>>> > I thought it would be nice to have these things exposed. So I copied >>>> them >>>> > from igb: >>>> > http://people.freebsd.org/~hiren/ixgbe_sysctls.txt >>>> > >>>> > Changes for if_igb.c is to expose correct auto-tuned value for a >>>> running >>>> > system for "hw.igb.num_queues", which is not the case right now. >>>> > >>>> > Thanks to markj@ for help/pointers. >>>> > >>>> > Please let me know if the diffs look okay. >>>> > >>>> > cheers, >>>> > Hiren >>>> > >>>> _______________________________________________ >>>> freebsd-net@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-net >>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>>> >>> >>> >> >