From owner-freebsd-net@freebsd.org Thu May 25 17:58:56 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 02B9AD820D9 for ; Thu, 25 May 2017 17:58:56 +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 97A231FEB for ; Thu, 25 May 2017 17:58:55 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v4PHwrOa053463; Thu, 25 May 2017 19:58:53 +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 664FA1AE; Thu, 25 May 2017 19:58:53 +0200 (CEST) Message-ID: <59271B5C.7020306@omnilan.de> Date: Thu, 25 May 2017 19:58:52 +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: "Andrey V. Elsukov" CC: "freebsd-net@freebsd.org" Subject: Is "-vlanhwcsum" without effect? [Was: Re: if_igb(4) VLAN(4) and [RT]XCSUM_IPV6, TSO6 References: <58CAD8CB.3060101@omnilan.de> <283742a4-5314-eef3-ed53-958a1f6e7492@yandex.ru> <58E641B8.5050108@omnilan.de> In-Reply-To: <58E641B8.5050108@omnilan.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Thu, 25 May 2017 19:58:53 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; 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, 25 May 2017 17:58:56 -0000 Bezüglich Harry Schmalzbauer's Nachricht vom 06.04.2017 15:25 (localtime): > Bezüglich Andrey V. Elsukov's Nachricht vom 06.04.2017 14:56 (localtime): >> On 16.03.2017 21: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? >> Can you test the attached patch? > Great, thanks for your explanation and the patch. Unfortunately I won't > be able to test before weekend. Will report asap. Hello, thank you for your fix, which made it into stable/11 in the meantime, where I can confirm it does work. But I noticed a possibly related oddity: Setting "-vlanhwcsum" seems to have no effect, at least ifconfig(8) reports always 'VLAN_HWCSUM'. Haven't done any further tests, maybe your eye-brain-connection find the answer quicker than any test I can do. thanks, -harry