lkml.org 
[lkml]   [2006]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Dropping NETIF_F_SG since no checksum feature.
From
Date
    David> Also, if you don't do checksumming on the card we MUST copy
David> the data (be it from a user buffer, or from a filesystem
David> page cache page) into a private buffer since if the data
David> changes the checksum would become invalid, as I mentioned
David> in another email earlier.

Yes, I get that now -- I replied to Michael's email before I read yours.

David> Therefore, since we have to copy anyways, it always is
David> better to checksum in parallel with the copy.

Yes.

David> So the whole idea of SG without hw-checksum support is
David> without much merit at all.

Well, on IB it is possible to implement a netdevice (IPoIB connected
mode, I assume that's what Michael is working on) with a large MTU
(64KB is a number thrown around, but really there's not any limit) but
no HW checksum capability. Doing that in a practical way means we
need to allow non-linear skbs to be passed in.

On the other hand I'm not sure how useful such a netdevice would be --
will non-sendfile() paths generate big packets even if the MTU is 64KB?

Maybe GSO gives us all the real advantages of this anyway?

- R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-11 05:45    [W:0.046 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site