From owner-freebsd-net@FreeBSD.ORG Thu Jul 3 16:01:24 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 8E9A5106566C for ; Thu, 3 Jul 2008 16:01:24 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 4BF658FC1B for ; Thu, 3 Jul 2008 16:01:24 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id B9B692BE8E; Fri, 4 Jul 2008 04:01:22 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 367+z-Upqick; Fri, 4 Jul 2008 04:01:19 +1200 (NZST) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Fri, 4 Jul 2008 04:01:19 +1200 (NZST) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id BDAFB1142E; Fri, 4 Jul 2008 04:02:46 +1200 (NZST) Date: Thu, 3 Jul 2008 09:02:46 -0700 From: Andrew Thompson To: Stefan Lambrev Message-ID: <20080703160246.GA45363@citylink.fud.org.nz> References: <4868A34C.6030304@moneybookers.com> <20080630101629.GD79537@cdnetworks.co.kr> <20080701012531.GA92392@citylink.fud.org.nz> <4869FE2E.4070805@moneybookers.com> <486A0281.208@moneybookers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <486A0281.208@moneybookers.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-net@freebsd.org Subject: Re: if_bridge turns off checksum offload of members? 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: Thu, 03 Jul 2008 16:01:24 -0000 On Tue, Jul 01, 2008 at 01:10:09PM +0300, Stefan Lambrev wrote: > Hi, > > Sorry to reply to myself. > > Stefan Lambrev wrote: >> Hi, >> >> May be a stupid questions, but: >> >> 1) There are zero matches of IFCAP_TOE in kernel sources .. there is not >> support for TOE in 7.0, but may be this is work in progress for 8-current? >> 2) In #define BRIDGE_IFCAPS_MASK (IFCAP_TOE|IFCAP_TSO|IFCAP_TXCSUM) - TOE >> should be repleaced with RXCSUM or just removed? > Your patch plus this small change (replacing TOE with RXCSUM) seems to work > fine for me - kernel compiles without a problem and checksum offload is > enabled after reboot. I have committed an updated version of this patch, thanks for testing. Andrew