From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Yusupov Subject: Re: zero copy issue while receiving the data (counter part of sen dfil e) Date: Tue, 21 Dec 2004 11:43:10 -0800 Message-ID: <1103658190.7217.121.camel@beastie> References: <267988DEACEC5A4D86D5FCD780313FBB02C66FCA@exch-03.noida.hcltech.com> <1103649767.7217.100.camel@beastie> <41C879CB.3040600@pobox.com> Reply-To: dima@s2io.com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <41C879CB.3040600@pobox.com> Sender: linux-newbie-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: Jeff Garzik Cc: "Rajat Jain, Noida" , linux-newbie@vger.kernel.org, linux-net@vger.kernel.org, linux-kernel@vger.kernel.org, kernelnewbies@nl.linux.org, "Sanjay Kumar, Noida" , "Deepak Kumar Gupta, Noida" indeed :) another words if you have modern NIC than you get "zero-copy"(except copy_to_user()) for free :) Regards, Dima On Tue, 2004-12-21 at 14:30 -0500, Jeff Garzik wrote: > Dmitry Yusupov wrote: > > Rajat, > > > > small correction, if NIC supports DMA operation on receive, than no > > extra copy required. Therefore sock_recvmsg() and tcp_read_sock > > large correction: if NIC supports _checksum_ on receive, then no extra > copy is required. > > Jeff > - To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs