From owner-freebsd-net@FreeBSD.ORG Tue Jun 10 08:03:22 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FF4F1065684 for ; Tue, 10 Jun 2008 08:03:22 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 07A468FC0A for ; Tue, 10 Jun 2008 08:03:21 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1257102ywe.13 for ; Tue, 10 Jun 2008 01:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=F8HGDH6JBKLrLI39KzbZK2QfpkC07jsZBFv93Jo93GM=; b=fmGP91e1ldtfoOOHFYpjUu/hocgqAjdhQxP/dAmtUyq5b0oVIkBR75zwcvBupN/ICW NA5WRGkN1R1aGu7uyQ4Rfz3Z8tRbkNHniGAlg8K8HJBc3INox1HhKsxBNSG4iFUzt5VK jqR7dpWnQHoET+5cT22fpiLzRDfYRsYhRwv+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=RsxxqmAR3yJ+b+E8zkTw9/vVN+osA2n5gxfVvCl3LRMqnPvfPqPuE4MXF+5jTD1NPE AinFla+OpXJ5AtJYGoXZwpPgvdnAB5KT02tgb7hxHLpkhdfhc0gm59q6RUm7uihEqAAO tUj5p96H0NfzqvEf3imzgN1KDCRWJn1+hmDJ4= Received: by 10.151.153.14 with SMTP id f14mr7976229ybo.73.1213084999040; Tue, 10 Jun 2008 01:03:19 -0700 (PDT) Received: by 10.151.84.2 with HTTP; Tue, 10 Jun 2008 01:03:19 -0700 (PDT) Message-ID: <20def4870806100103o6fcc70e3t78adf8f94d0b3b47@mail.gmail.com> Date: Tue, 10 Jun 2008 11:03:19 +0300 From: "Yony Yossef" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: TCP messages go OUT OF ORDER on FreeBSD 7 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2008 08:03:22 -0000 Hi All. I'm working on a 10GigE driver for FreeBSD 7, supporting both LRO and TSO (LSO). I get a stable connection enabling LRO alone and TSO alone, but when I enable both offloads I get OUT OF ORDER packets on the sender side. Meaning the sending OS sends the same packet several times without getting any ACKs in between. The wireshark timestamps show that the sender did not even wait too long in order to retransmit the packets, there is only a 10-20 microsecs gap between the first and second sends of the same packet. I'm a TCP/IP newbee, can anybody explain to me how can this happen? Yony