[lkml]   [2001]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Updated zerocopy patch up on
       Date: Tue, 09 Jan 2001 20:23:17 -0500
    From: Jeff Garzik <>

    Is there any value to supporting fragments in a driver which
    doesn't do hardware checksumming? IIRC Alexey had a patch to do
    such for Tulip, but I don't see it in the above patchset.

    I'm actually considering making the SG w/o hwcsum situation illegal.

    Basically, with SG only, you can run into some problems.
    We don't prevent anyone from making modifications to the
    paged data, we just grab references to the pages.

    This works perfectly fine when the card does the checksumming,
    the card DMAs a snapshot of the data into it's internal buffers,
    checksums that local snapshot of the data, and the checksum is fine.

    If, on the other hand, we're doing this in software, we can send out
    packets with bad checksums. The next retransmit could fix it up, but
    this is a horrible scheme quality of implementation wise.

    David S. Miller
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:28    [W:5.491 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site