From owner-freebsd-net@freebsd.org Thu Apr 20 17:55: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 76673D48B68 for ; Thu, 20 Apr 2017 17:55:56 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 59B65D6C for ; Thu, 20 Apr 2017 17:55:56 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5608CD48B67; Thu, 20 Apr 2017 17:55:56 +0000 (UTC) Delivered-To: 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 55B0DD48B66 for ; Thu, 20 Apr 2017 17:55:56 +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 271E6D6B for ; Thu, 20 Apr 2017 17:55:55 +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 2131B1928AC; Thu, 20 Apr 2017 17:55:48 +0000 (UTC) Subject: Re: Intel 82545 & TSO To: Vijay Singh Cc: "freebsd-net@freebsd.org" References: <793b585e-8af4-56e3-97eb-942efbc8d06c@freebsd.org> From: Sean Bruno Message-ID: Date: Thu, 20 Apr 2017 11:55:45 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hRg6PwXm6Fq1K7uf5cFDRUVoVKQfOOR9A" 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, 20 Apr 2017 17:55:56 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hRg6PwXm6Fq1K7uf5cFDRUVoVKQfOOR9A Content-Type: multipart/mixed; boundary="VO3TdtQ1u1TQCtRC2gb2JESnwaOq6vXra"; protected-headers="v1" From: Sean Bruno To: Vijay Singh Cc: "freebsd-net@freebsd.org" Message-ID: Subject: Re: Intel 82545 & TSO References: <793b585e-8af4-56e3-97eb-942efbc8d06c@freebsd.org> In-Reply-To: --VO3TdtQ1u1TQCtRC2gb2JESnwaOq6vXra Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 04/05/17 15:54, Vijay Singh wrote: > This is from FreeBSD 10.3. >=20 > On Wed, Apr 5, 2017 at 2:53 PM, Sean Bruno > wrote: >=20 >=20 >=20 > On 04/05/17 10:26, Vijay Singh wrote: > > I am running FreeBSD as a guest on ESX 5.x and see Intel device > 0x100F in > > the guest. The man page for em(4) says: > > > > " The driver supports Transmit/Receive checksum offload and Jumbo= > > Frames on all but 82542-based adapters. Furthermore it supports T= CP > > segmentation offload (TSO) on all adapters but those based on the= > > 82543, 82544 and 82547 controller chips." > > > > This particular device is probed by the if_lem.c driver, but I se= e no > > support for TSO in that file. I have verified that TSO is enabled= on > > the host. What am I missing? > > > > em0@pci0:2:0:0: class=3D0x020000 card=3D0x075015ad chip=3D0x100f8= 086 > rev=3D0x01 hdr=3D0x00 > > vendor =3D 'Intel Corporation' > > device =3D '82545EM Gigabit Ethernet Controller (Copper)'= > > class =3D network > > subclass =3D ethernet > > > > ifconfig -vvvm em0 > > em0: flags=3D8843 metric = 0 > mtu 1500 > > =20 > options=3D8009b > > =20 > capabilities=3D9009b > > ether 02:a0:98:ec:26:1d > > media: Ethernet autoselect (1000baseT ) > > status: active > > supported media: > > media autoselect > > media 100baseTX mediaopt full-duplex > > media 100baseTX > > media 10baseT/UTP mediaopt full-duplex > > media 10baseT/UTP > > > > > > -vijay > > _______________________________________________ >=20 > Just so that I'm sure, what version of FreeBSD is this from? >=20 > sean >=20 >=20 I believe this a confusion from the fact that the 82545EM is controled by the "lem" driver and not the "em" driver. The "lem" driver does not support TSO. If you want TSO support, you should be able to use a different ethernet card model in ESX, no? sean --VO3TdtQ1u1TQCtRC2gb2JESnwaOq6vXra-- --hRg6PwXm6Fq1K7uf5cFDRUVoVKQfOOR9A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEuq1GMucSHejSCZfdEgHvyh5yfmQFAlj49iFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJB QUQ0NjMyRTcxMjFERThEMjA5OTdERDEyMDFFRkNBMUU3MjdFNjQACgkQEgHvyh5y fmQ1Mwf/T9kTxCfyKOczY1Jq9Rjxz9s7ziDgiv5fevPJSY8JR8csCaaX5dDRNMYR QvBNcnm1Kakc5R70LwnBLADv0daEfdM+cjJ1R9yOx0OaAInUDqPmfi7hycUKBMPX cU17ZfKhBZdHcjB+/ZOQ8H8YdMrR6C3CnTvyEKC/Zmbci3T5zLee++/1LXv9rO5L +nePHGdbg4w+ngz1AjNWjo6TepAz3birOP/h/MvnFcAO/yVAW7+CeHam6yNWXjzO HVgEsWBAR91XftBRW60Rpxry76Qi58SXQdDe1nk+z5qhaDXT/0O+t0TZp3XJPxVY /PrC79iaDuSZAdSDPG9phaIpjRnKCA== =PRrw -----END PGP SIGNATURE----- --hRg6PwXm6Fq1K7uf5cFDRUVoVKQfOOR9A--