Re: RFC: TSO patch for current

From: Jack Vogel <jfvogel_at_gmail.com>
Date: Tue, 5 Sep 2006 14:10:09 -0700
On 9/5/06, Andre Oppermann <andre_at_freebsd.org> wrote:
> Prafulla Deuskar wrote:
> > Andre Oppermann [andre_at_freebsd.org] wrote:
> >> Prafulla Deuskar wrote:
> >>> Jack Vogel [jfvogel_at_gmail.com] wrote:
> >>>
> >>>> On 9/2/06, Andre Oppermann <andre_at_freebsd.org> wrote:
> >>>>
> >>>>
> >>>>> I can't comment on the em part but the tcp_output.c stuff looks
> >>>>> very much like a straight port from NetBSD.  If we take code from
> >>>>> the other BSDs we have to remark this in the emails we send with
> >>>>> patches and the commit message (otherwise we get accused of 'stealing
> >>>>> without attribution').
> >>>> I dont know that I'd call it a straight port, rather I was working from
> >>>> some
> >>>> prototype code that Prafulla had working back on 4.7, but I think at that
> >>>> time that he may have patterned it after NetBSD.
> >>> I don't think NetBSD had TSO support in 2002 when I first did the 4.7
> >>> patch for internal testing.
> >> OK, perhaps they lifted it from your patch then.  They just looks awfully
> >> similiar that's why I thought it came from NetBSD.
> >>
> > Your patch looks good and is the way to go.
> >
> > So after Jack confirms that your patch works with the em driver
> > would you commit to to -current?
>
> Absolutely.  :-)
>
> > The driver related changes can follow..
> >
> > Later we also need to fix ifconfig so that user can enable/disable TSO on the interface.
>
> I'll do that together with the TSO code.

OK, I've built and done some touch testing of this. I like it, the driver has
some counters of the number of TSO bursts it does, and I think I see more
per netperf test with your patch than mine.

Hard to do real performance testing with all that WITNESS stuff in, but
I will be making a 6.1 version of your patch to test with since I have my
driver running on that anyway.

If you do the ifconfig changes there will need to be a small amount of
code added to em_ioctl() but it should be trivial.

You want me to reissue a driver patch with changes for your code?

Cheers,

Jack
Received on Tue Sep 05 2006 - 19:10:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC