From owner-freebsd-net@freebsd.org Thu Apr 6 09:26:28 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CF52D30CA0 for ; Thu, 6 Apr 2017 09:26:28 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C1B36F24; Thu, 6 Apr 2017 09:26:27 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v369QOGP047424; Thu, 6 Apr 2017 11:26:24 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 47FDCD19; Thu, 6 Apr 2017 11:26:24 +0200 (CEST) Message-ID: <58E609BF.7040205@omnilan.de> Date: Thu, 06 Apr 2017 11:26:23 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Sean Bruno CC: "freebsd-net@freebsd.org" Subject: Re: if_igb(4) VLAN(4) and [RT]XCSUM_IPV6, TSO6 References: <58CAD8CB.3060101@omnilan.de> <939d3920-0181-8b1a-e0be-5d612286daee@freebsd.org> In-Reply-To: <939d3920-0181-8b1a-e0be-5d612286daee@freebsd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: ACL 124 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Thu, 06 Apr 2017 11:26:24 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 06 Apr 2017 09:26:28 -0000 Bezüglich Sean Bruno's Nachricht vom 05.04.2017 23:54 (localtime): > > > On 03/16/17 12:26, Harry Schmalzbauer wrote: >> Hello, >> >> I'm wondering if I really loose [RT]XCSUM_IPV6 on if_igb(4) vlan(4) >> children. >> My igb0 (Kawela, aka 82576) options end with >> "TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6" >> >> The vlan(4) filtered interfaces show these: >> options=303 >> >> So TSO6 is inherited, but RC/TXCSUM_IPV6 dropped? … >> > > That looks like a bug. Which version of FreeBSD is this? Thanks for your attention. I'm on RELENG_11. I can confirm that behaviour on r315416 (Mar, 16th). >> In general, how is offloading implemented? If enabled, does the API >> simply generate packets lacking the checksum header and NIC (silicon) >> fills in the checksum if not adviesd not to do so (by the driver)? >> Or is the driver utilizing NIC registers for calculation, but ensures >> every packet will have a checksum? If you know any beginners-level explanations, I was still interested in getting knowledge about offloading implementation. Most important, is it driver/nic dependent or do all drivers implement it similar? Thanks, -harry