Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 4 Sep 2002 19:12:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 4 Sep 2002 19:12:07 -0400 Received: from pc1-cwma1-5-cust128.swa.cable.ntl.com ([80.5.120.128]:2294 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Wed, 4 Sep 2002 19:12:07 -0400 Subject: Re: TCP Segmentation Offloading (TSO) From: Alan Cox To: Gabriel Paubert Cc: "H. Peter Anvin" , linux-kernel@vger.kernel.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-6) Date: 05 Sep 2002 00:17:18 +0100 Message-Id: <1031181438.3017.125.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 543 Lines: 11 On Wed, 2002-09-04 at 23:39, Gabriel Paubert wrote: > While it would work, this sequence is overkill. Unless I'm mistaken, the > only property of bswap which is used in this case is that it swaps even > and odd bytes, which can be done by a simple "roll $8,%eax" (or rorl). bswap is a 32bit swap. - 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/