From owner-freebsd-net@FreeBSD.ORG Thu Sep 26 00:35:49 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 A758EACB; Thu, 26 Sep 2013 00:35:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1F08A2FD7; Thu, 26 Sep 2013 00:35:48 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id cb5so6266788wib.15 for ; Wed, 25 Sep 2013 17:35:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Z8+Ia9gMZiILIjG4fxye8PtTs25Wfjyvz7LkK8JHtfo=; b=AxOdiHxU904g1QOXhM0yu/9EgnW9IGHCQmhJjTN70o4hnFjvINEMpmtqY7WF2VZ656 ZGpbIz5uCpPlwwilUo+valxGOT9YHbvokoZ6Yy4hcqj6nliz5QzlV9t+p2HgHwfArU/7 8MBTOLVpr2/FnXQU32ovyJHkNz3ux8yZRbfxIqMuXmSOVQ4352b6oSrMkwE74l3lEJlr bVTDqg/JGqKB40DXZmOpnxnFLLfuvSFjC0PKI6h39XOdrdo3r2CQYcPbBTl0laMkXWl2 f3y07Agy1EshTBWT3JkYW/+c/cJGv/fTeVEFeZ4NU3Vo09Ia3Wj989N/jOFQOczuevcS OJ1A== MIME-Version: 1.0 X-Received: by 10.194.93.72 with SMTP id cs8mr86877wjb.49.1380155747330; Wed, 25 Sep 2013 17:35:47 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Wed, 25 Sep 2013 17:35:47 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Sep 2013 17:35:47 -0700 X-Google-Sender-Auth: gClU_wDiITGXi5RetZHUokDPVLg Message-ID: Subject: Re: Exposing sysctls for ixgbe From: Adrian Chadd To: hiren panchasara Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-net@freebsd.org" 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: Thu, 26 Sep 2013 00:35:49 -0000 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" >