From owner-freebsd-net@FreeBSD.ORG Fri Jun 12 17:43:50 2009 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 BD2CC106567E; Fri, 12 Jun 2009 17:43:50 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id 4E55A8FC14; Fri, 12 Jun 2009 17:43:50 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from [172.31.193.10] (cpe-075-177-134-250.nc.res.rr.com [75.177.134.250]) (authenticated bits=0) by duke.cs.duke.edu (8.14.2/8.14.2) with ESMTP id n5CHhnpP018829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Jun 2009 13:43:49 -0400 (EDT) X-DKIM: Sendmail DKIM Filter v2.8.3 duke.cs.duke.edu n5CHhnpP018829 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cs.duke.edu; s=mail; t=1244828629; bh=TdoTaqvJVmPZd25zZAlOZW+v7NBCOH+NgiPp8XE708U=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=QLLvm1etWUr0b8COm2fRtdoWt97b8YJ3j9RE8q/xIMkpA9UUmmKywHqRbZnwkiHLO tD6RV5Sxrw1TUGuO+NLf0l4L1Fg7+BPDwfA5873Dh8ZcWGlRXKJ1RvSZKygCfr//HD pQVwBeBE0klKjPj8x8kiLpNCWPO8tTB3BVmOiErA= Message-ID: <4A3293C8.5070101@cs.duke.edu> Date: Fri, 12 Jun 2009 13:43:36 -0400 From: Andrew Gallatin User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <20090611184555.J22887@maildrop.int.zabbadoz.net> <20090612013406.GB72855@michelle.cdnetworks.co.kr> <20090612100900.M22887@maildrop.int.zabbadoz.net> <20090612170703.GA994@hub.freebsd.org> <20090612173728.B22887@maildrop.int.zabbadoz.net> In-Reply-To: <20090612173728.B22887@maildrop.int.zabbadoz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 12 Jun 2009 18:02:39 +0000 Cc: Pyun YongHyeon , FreeBSD net mailing list , "George V. Neville-Neil" , Michael Tuexen , Navdeep Parhar , Andrew Thompson , Jack F Vogel , Andrew Gallatin , Pyun YongHyeon Subject: Re: Ethernet NIC drivers depending unconditionally on INET 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: Fri, 12 Jun 2009 17:43:53 -0000 Bjoern A. Zeeb wrote: > On Fri, 12 Jun 2009, Navdeep Parhar wrote: > >> On Fri, Jun 12, 2009 at 10:56:31AM +0000, Bjoern A. Zeeb wrote: >>> On Fri, 12 Jun 2009, Pyun YongHyeon wrote: >>> >>> Hi, >>> >>>> Yeah, there are no checksum offloading support for IPv6 under >>>> FreeBSD so there are no cases the frames are IPv6 when >>>> CSUM_IP/CSUM_TCP/CSUM_UDP/CSUM_TSO was set. >>> >>> The thing that scared me was sys/netinet/tcp_subr.c:tcp_maxmtu6(). >>> >>> What I had missed was the CSUM_TSO6 (the 6 at the end) part. >>> grepping through the tree I am even wondering a lot more now when I >>> see what cxgb(4) is doing with that;) >> >> I can't find a CSUM_TSO6 in head, did you mean IFCAP_TSO6? > > yes I did. > >> cxgb(4) >> will not let you enable IFCAP_TSO6 on the interface. It has always >> been disallowed as far as I can tell. > > Yes, you have it in the logic bu you define it to 0;) > #define IFCAP_TSO6 0x0 So I guess TSO6 has never been tested at all on any interface on Freebsd. Is this true? Drew