From owner-freebsd-current@FreeBSD.ORG Sun Mar 27 02:18:26 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D80B51065670; Sun, 27 Mar 2011 02:18:26 +0000 (UTC) (envelope-from david.somayajulu@qlogic.com) Received: from VA3EHSOBE001.bigfish.com (va3ehsobe001.messaging.microsoft.com [216.32.180.11]) by mx1.freebsd.org (Postfix) with ESMTP id 80AA98FC17; Sun, 27 Mar 2011 02:18:26 +0000 (UTC) Received: from mail84-va3-R.bigfish.com (10.7.14.236) by VA3EHSOBE001.bigfish.com (10.7.40.21) with Microsoft SMTP Server id 14.1.225.22; Sun, 27 Mar 2011 02:03:23 +0000 Received: from mail84-va3 (localhost.localdomain [127.0.0.1]) by mail84-va3-R.bigfish.com (Postfix) with ESMTP id 8F456B5830C; Sun, 27 Mar 2011 02:03:23 +0000 (UTC) X-SpamScore: -7 X-BigFish: VPS-7(zz14ffOzz1202hzz8275bh8275dhz2fh2a8h668h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:avexcashub1.qlogic.com; RD:avexcashub1.qlogic.com; EFVD:NLI Received: from mail84-va3 (localhost.localdomain [127.0.0.1]) by mail84-va3 (MessageSwitch) id 1301191402811608_14295; Sun, 27 Mar 2011 02:03:22 +0000 (UTC) Received: from VA3EHSMHS028.bigfish.com (unknown [10.7.14.250]) by mail84-va3.bigfish.com (Postfix) with ESMTP id A4846186004F; Sun, 27 Mar 2011 02:03:22 +0000 (UTC) Received: from avexcashub1.qlogic.com (198.70.193.61) by VA3EHSMHS028.bigfish.com (10.7.99.38) with Microsoft SMTP Server (TLS) id 14.1.225.22; Sun, 27 Mar 2011 02:03:21 +0000 Received: from avexmb1.qlogic.org ([fe80::9545:3a4f:c131:467d]) by avexcashub1.qlogic.org ([::1]) with mapi; Sat, 26 Mar 2011 19:03:20 -0700 From: David Somayajulu To: "freebsd-net@freebsd.org" , "freebsd-current@freebsd.org" Date: Sat, 26 Mar 2011 19:03:18 -0700 Thread-Topic: Questions on LRO and Delayed ACK Thread-Index: AcvsIyO9944te0QiTC65oaG4IotW/g== Message-ID: <75E1A2A7D185F841A975979B0906BBA6774E0CE8CA@AVEXMB1.qlogic.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-OriginatorOrg: qlogic.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Questions on LRO and Delayed ACK X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2011 02:18:26 -0000 Hi All, 1. If there is hardware support for LRO, (where the hardware delivers= coalesces a bunch of consecutive TCP segments into one large TCP Segment),= is it enough for the driver to simply post the segment to the host stack v= ia ifp->if_input() ? I mean is there a need to run thru tcp_lro_rx() follow= ed by tcp_lro_flush(). 2. What kind performance improvement does one get using soft lro via = tcp_lro_init(); tcp_lro_rx();tcp_lro_flush(); 3. In the absence of LRO, is there any way that one can increase the = number of inbound frames for which an ACK is transmitted to a value greater= than 2? Thanks david S. ________________________________ This message and any attached documents contain information from QLogic Cor= poration or its wholly-owned subsidiaries that may be confidential. If you = are not the intended recipient, you may not read, copy, distribute, or use = this information. If you have received this transmission in error, please n= otify the sender immediately by reply e-mail and then delete this message.