Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2013 19:05:58 +0900
From:      Takuya ASADA <syuu@dokukino.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        Super Bisquit <superbisquit@gmail.com>, Jack Vogel <jfvogel@gmail.com>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Comparing Mutiqueue Support Linux vs FreeBSD
Message-ID:  <CALG4x-UB%2BnFk7qOVmbaUNQHR=kjoQOsUSMWUk6qqmMnwrY==LQ@mail.gmail.com>
In-Reply-To: <CAJ-Vmo=_JRHzbELzBnqBQ=N0678fwh_1r7MRNXfFktzUWRQ7CA@mail.gmail.com>
References:  <CALG4x-VnWsjFtMkrGoonV2MXLJBdC7qZrWJ1fVbJR-cjp5BCUQ@mail.gmail.com> <CA%2BWntOuN0qgirdFFfoHqsnpUYePqfvP5YpCEtfdFj7H2fmTZmw@mail.gmail.com> <CAFOYbckL2M5No9V6otCp8Z02L%2Bfu1g4C9pjfbnSMGH=e=CL6dg@mail.gmail.com> <CAJ-Vmo=_JRHzbELzBnqBQ=N0678fwh_1r7MRNXfFktzUWRQ7CA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jfvogel@gmail.com <javascript:;>>
> 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 <superbisquit@gmail.com<=
javascript:;>
> >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 <syuu@dokukino.com<javas=
cript:;>>
> 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 <javascript:;> mailing list
> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> >> > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.or=
g<javascript:;>
> "
> >> >
> >> _______________________________________________
> >> freebsd-net@freebsd.org <javascript:;> 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 <javascript:;> mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org<j=
avascript:;>
> "
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALG4x-UB%2BnFk7qOVmbaUNQHR=kjoQOsUSMWUk6qqmMnwrY==LQ>