Re: TCP Checksum offload in 2.4.19

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   From: Bernd Eckenfels <ecki-news2002-09@lina.inka.de>
   Date: Sat, 7 Sep 2002 00:58:25 +0200
   
   thats why it makes sence to have zerocopy with hw-checksum. there is only a
   marginal time needed for a copy+chksum, but it is totally wasted time on
   zero copy environment.

You don't understand.  Because it is too complicated to zerocopy
arbitrary anonymous user pages, we have to copy it into a stable
kernel buffer.  Because we have to copy, we checksum at the
same time.

If you want zerocopy for user created data, create a file for
the process, mmap() it, write your contents, then sendfile()
the thing to the socket.  End of story.

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux