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年6月27日木曜日 Adrian Chadd [email protected]:

> 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 <[email protected] <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 
> > <[email protected]<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 conf
> >> files would be better?
> >>
> >>
> >> On Wed, Jun 26, 2013 at 6:39 PM, Takuya ASADA 
> >> <[email protected]<javascript:;>>
> 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/ComparingMutiqueueSupportLinuxvsFreeBSD
> >> >
> >> > I hope it helps to decide what kind of interfaces/features do we need
> on
> >> > FreeBSD.
> >> >
> >> > Takuya ASADA
> >> > _______________________________________________
> >> > [email protected] <javascript:;> mailing list
> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> >> > To unsubscribe, send any mail to 
> >> > "[email protected]<javascript:;>
> "
> >> >
> >> _______________________________________________
> >> [email protected] <javascript:;> mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> >> To unsubscribe, send any mail to 
> >> "[email protected]<javascript:;>
> "
> >>
> > _______________________________________________
> > [email protected] <javascript:;> mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to 
> > "[email protected]<javascript:;>
> "
>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to