From owner-freebsd-net@FreeBSD.ORG Wed Sep 25 06:54:01 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 0243B428 for ; Wed, 25 Sep 2013 06:54:01 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x233.google.com (mail-ee0-x233.google.com [IPv6:2a00:1450:4013:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6A0372C0A for ; Wed, 25 Sep 2013 06:54:00 +0000 (UTC) Received: by mail-ee0-f51.google.com with SMTP id c1so2926134eek.38 for ; Tue, 24 Sep 2013 23:53:58 -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:content-type; bh=4OfoQxQYe5OCbYNIolZ8dZLz7eP9AcIc+RAawbkr8+g=; b=Pxsdtq21LdtWLPxajZp/ZsvoOeUTRCGFRG9MEa6cXMyp/62WOCz8+tRvG4z2T/jgoI qnlIipWgg+6jpibPLcVsATvDx8xiRP4N2slw6chELTqNktzZVsE6hiCGcjcd5dz9ujAe KCeI/JsqLMZ9goAQrYJPOnAhAw+0s8TgBIhUzDQcFu4ay4Uz7u5wMWdYgjTqf3N4nPKq nyMAQuBTtRWtd5o+dPRKvcAo3ly/PaLVHlNl9xO8P5tM9EYu/gHIghGB1AdL1grk/Ck4 YofvE8ECdPzBRtUXTi2sg9I1oqqzM7Vfo5hY6O8Z3NX8cmd8IUpGmSpl3U+kRBE00602 O/zg== MIME-Version: 1.0 X-Received: by 10.14.104.199 with SMTP id i47mr322521eeg.85.1380092038644; Tue, 24 Sep 2013 23:53:58 -0700 (PDT) Sender: hiren.panchasara@gmail.com Received: by 10.14.105.137 with HTTP; Tue, 24 Sep 2013 23:53:58 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 Sep 2013 23:53:58 -0700 X-Google-Sender-Auth: INuQlZiAtLeZNTQZHrqzco78AaU Message-ID: Subject: Re: Exposing sysctls for ixgbe From: hiren panchasara To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 25 Sep 2013 06:54:01 -0000 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 >