From owner-freebsd-net@freebsd.org Wed Apr 5 21:55:00 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 215A0D2D9A6 for ; Wed, 5 Apr 2017 21:55:00 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 038F2795 for ; Wed, 5 Apr 2017 21:54:59 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (97-123-4-62.albq.qwest.net [97.123.4.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 7B4831928AC; Wed, 5 Apr 2017 21:54:58 +0000 (UTC) Subject: Re: if_igb(4) VLAN(4) and [RT]XCSUM_IPV6, TSO6 To: Harry Schmalzbauer , "freebsd-net@freebsd.org" References: <58CAD8CB.3060101@omnilan.de> From: Sean Bruno Message-ID: <939d3920-0181-8b1a-e0be-5d612286daee@freebsd.org> Date: Wed, 5 Apr 2017 15:54:57 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <58CAD8CB.3060101@omnilan.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SXEMfvcBh5RWXvUl42Ol2oSqK7hCblBud" 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: Wed, 05 Apr 2017 21:55:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SXEMfvcBh5RWXvUl42Ol2oSqK7hCblBud Content-Type: multipart/mixed; boundary="762JxXRA7cRXXaWheHij3pjimMFnq9nTH"; protected-headers="v1" From: Sean Bruno To: Harry Schmalzbauer , "freebsd-net@freebsd.org" Message-ID: <939d3920-0181-8b1a-e0be-5d612286daee@freebsd.org> Subject: Re: if_igb(4) VLAN(4) and [RT]XCSUM_IPV6, TSO6 References: <58CAD8CB.3060101@omnilan.de> In-Reply-To: <58CAD8CB.3060101@omnilan.de> --762JxXRA7cRXXaWheHij3pjimMFnq9nTH Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 03/16/17 12:26, Harry Schmalzbauer wrote: > Hello, >=20 > 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" >=20 > The vlan(4) filtered interfaces show these: > options=3D303 >=20 > So TSO6 is inherited, but RC/TXCSUM_IPV6 dropped? >=20 > 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? >=20 > Thanks, >=20 > -harry >=20 >=20 That looks like a bug. Which version of FreeBSD is this? sean --762JxXRA7cRXXaWheHij3pjimMFnq9nTH-- --SXEMfvcBh5RWXvUl42Ol2oSqK7hCblBud Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEuq1GMucSHejSCZfdEgHvyh5yfmQFAljlZ7JfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJB QUQ0NjMyRTcxMjFERThEMjA5OTdERDEyMDFFRkNBMUU3MjdFNjQACgkQEgHvyh5y fmQ6swgAm61rWummy46oo3klHwFKYKUprcVwpHNAvbtyvrjUNSC3HQu9D4/oGxbG dtPJtrgueC1NXxRij5WyyKvkm3xbEDPnLk8k4yU8RkV8LgDMRY4eq8NClyNmhea/ ralCnIMuSxgp9Ta2RaHyRgQpEhfkBFCySPZRXmi4mxCdUUU7adQxW7O8dy97z3uS 4wZ0LRKf31DB0hI/jAFHFmp9yxjUZAX9yp924x/o8YduBTCP8ntv0lpIwtKSs+N3 qdmZ8Itg/HxeDtZdjZ/Mew8Dp5Xl1ZT+y2Sk0WcPPAWSsAXt59WsRkzNo77uhSdW T99VJo2vEzfdKCghltybUK/yIM5olA== =rz4Q -----END PGP SIGNATURE----- --SXEMfvcBh5RWXvUl42Ol2oSqK7hCblBud--