From owner-freebsd-net@FreeBSD.ORG Thu Jun 27 10:05:58 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E1A9F46F for ; Thu, 27 Jun 2013 10:05:58 +0000 (UTC) (envelope-from syuu@dokukino.com) Received: from mail-pb0-x234.google.com (mail-pb0-x234.google.com [IPv6:2607:f8b0:400e:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id B768C185A for ; Thu, 27 Jun 2013 10:05:58 +0000 (UTC) Received: by mail-pb0-f52.google.com with SMTP id xa12so702568pbc.11 for ; Thu, 27 Jun 2013 03:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dokukino.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=O1Z5ZtoqmZKNuFW2iy9+R5puIwmyfo61Nt5/vWmnjeI=; b=XVI6PjK1pcJoBGgGJBcSfCDTvgMGV6lCbyp4wP3SOJ6EAd3OoToZTXVjwdxp64NNi1 6BHAYoIs830SEV9IL5d3cLgo5Hiq+6OuOzE0TV7Lif3l1d0Dga1i7hr1j5sO9tbsbnDb CozkFg9WG0ECX8D938zbxVLk4rimVcOZpQ3/s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=O1Z5ZtoqmZKNuFW2iy9+R5puIwmyfo61Nt5/vWmnjeI=; b=LPK+m5qTen9pkGzl51FZ2+x0pk8Hgj2Liq2gY7qsB0/eUL5FZ8PG6kN5g8oCGLMJjk O+m7z6dqDx/VH6hH7y7Dwx3DJ99PTvyOlyUmyuDsrI7G0n+yIERQzTqSwu+xWVCqwn0a Xk2imi8Zdn1UOUMAw7ApRcRqiVKE7YyK92aYkQvHpCNwHdpSgOOQqbGxKarPicBg3tug zeIKebWv2OPN3m1l8FYkRM8Aj3tl9inxvXaEpqOjkflGWoha42wb6SFnw61jSd1k/LUX WC+inLGBV6jimQIhBxoCKwC3NVPSI8x6rFqz3S6aWXGICQxHdR7WCefP5IzWVsBQVbX1 gBkQ== MIME-Version: 1.0 X-Received: by 10.68.1.226 with SMTP id 2mr5129890pbp.150.1372327558485; Thu, 27 Jun 2013 03:05:58 -0700 (PDT) Received: by 10.68.222.34 with HTTP; Thu, 27 Jun 2013 03:05:58 -0700 (PDT) In-Reply-To: References: Date: Thu, 27 Jun 2013 19:05:58 +0900 Message-ID: Subject: Re: Comparing Mutiqueue Support Linux vs FreeBSD From: Takuya ASADA To: Adrian Chadd X-Gm-Message-State: ALoCoQmTktIc6kNf1hSzFX9XvMBZeDT5tKBHPZtkrGA3Wg4ISl/wsK8mDErwbzJxJzznBsKzDURe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Super Bisquit , Jack Vogel , FreeBSD Net 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, 27 Jun 2013 10:05:58 -0000 Maybe we need to add some more generic APIs on NIC driver's ioctl, and invoke it from ifconfig. Or if you hate to add things on ifconfig, just make another command like ethtool from scratch. And driver can export driver specific things via sysctl, some driver already doing in that way. 2013=E5=B9=B46=E6=9C=8827=E6=97=A5=E6=9C=A8=E6=9B=9C=E6=97=A5 Adrian Chadd = adrian@freebsd.org: > ethtool is just a passthrough. The drivers need to implement all of those > hooks. > > It wouldn't be that hard to reimplement. The drivers would have to > reimplement it anyway - they'd have to implement the generic set of > standard statistics, then export driver-specific things. You know, the > stuff our drivers already expose via sysctl. > > > > adrian > > On 26 June 2013 17:02, Jack Vogel > > wrote: > > ethtool is GPL so I wouldn't expect it to show up around here :) > > > > Implementing something like it for FreeBSD would be cool however, > sometimes > > sysctl just > > seems clunky although its usually how i cope with driver things that > might > > be changed via > > ethtool in Linux. Having to completely rebuild a kernel for controlling > RSS > > seems horribly > > clunky on the other hand. > > > > > > > > On Wed, Jun 26, 2013 at 3:58 PM, Super Bisquit > >wrote: > > > >> If someone ports the ethtool to FreeBSD, it will only work on the > >> i386/AMD64/ PC98 architectures. > >> Perhaps having these suggestions as options for the kernel/GENERIC con= f > >> files would be better? > >> > >> > >> On Wed, Jun 26, 2013 at 6:39 PM, Takuya ASADA > > wrote: > >> > >> > Hi, > >> > > >> > Because there was an discussion about new APIs to provide better > support > >> > for high performance NICs in Ottawa DevSummit BoF, I wrote a note > about > >> > "How Linux doing it" in that area. > >> > > >> > I haven't get a enough chance to talk about it in the summit, but I > >> decided > >> > to upload the note on a Wiki. > >> > > >> > Here's a link: > >> > > >> > > >> > https://wiki.freebsd.org/201305DevSummit/NetworkReceivePerformance/Compar= ingMutiqueueSupportLinuxvsFreeBSD > >> > > >> > I hope it helps to decide what kind of interfaces/features do we nee= d > on > >> > FreeBSD. > >> > > >> > Takuya ASADA > >> > _______________________________________________ > >> > freebsd-net@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-net > >> > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.or= g > " > >> > > >> _______________________________________________ > >> 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<= javascript:;> > " > >> > > _______________________________________________ > > 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 > " >