Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 9 Jul 2002 18:45:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 9 Jul 2002 18:45:39 -0400 Received: from lightning.swansea.linux.org.uk ([194.168.151.1]:24071 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Tue, 9 Jul 2002 18:45:39 -0400 Subject: Re: How many copies to get from NIC RX to user read()? To: hurwitz@lanl.gov (Hurwitz Justin W.) Date: Wed, 10 Jul 2002 00:11:49 +0100 (BST) Cc: linux-kernel@vger.kernel.org In-Reply-To: from "Hurwitz Justin W." at Jul 09, 2002 04:29:35 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 486 Lines: 15 > How many times is data copied between the time that it is received at the > NIC and when the user's call to read() returns the data? Optimal case for TCP NIC->buffer (DMA) buffer->user (CPU) IFF the TCP checksum can be done by the card - 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/