Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2017 11:55:45 -0600
From:      Sean Bruno <sbruno@freebsd.org>
To:        Vijay Singh <vijju.singh@gmail.com>
Cc:        "freebsd-net@freebsd.org" <net@freebsd.org>
Subject:   Re: Intel 82545 & TSO
Message-ID:  <c569d38b-5f7f-7227-b958-09652ab18330@freebsd.org>
In-Reply-To: <CALCNsJRMW7fNm%2Bt91F5zd3MsTzg7-F1a1ujiUvUL8dbQO-C44w@mail.gmail.com>
References:  <CALCNsJQ4-ERmdH4j8zpT3t42F-1ngh5_-UB9rAt-ez9tZDDDXA@mail.gmail.com> <793b585e-8af4-56e3-97eb-942efbc8d06c@freebsd.org> <CALCNsJRMW7fNm%2Bt91F5zd3MsTzg7-F1a1ujiUvUL8dbQO-C44w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--hRg6PwXm6Fq1K7uf5cFDRUVoVKQfOOR9A
Content-Type: multipart/mixed; boundary="VO3TdtQ1u1TQCtRC2gb2JESnwaOq6vXra";
 protected-headers="v1"
From: Sean Bruno <sbruno@freebsd.org>
To: Vijay Singh <vijju.singh@gmail.com>
Cc: "freebsd-net@freebsd.org" <net@freebsd.org>
Message-ID: <c569d38b-5f7f-7227-b958-09652ab18330@freebsd.org>
Subject: Re: Intel 82545 & TSO
References: <CALCNsJQ4-ERmdH4j8zpT3t42F-1ngh5_-UB9rAt-ez9tZDDDXA@mail.gmail.com>
 <793b585e-8af4-56e3-97eb-942efbc8d06c@freebsd.org>
 <CALCNsJRMW7fNm+t91F5zd3MsTzg7-F1a1ujiUvUL8dbQO-C44w@mail.gmail.com>
In-Reply-To: <CALCNsJRMW7fNm+t91F5zd3MsTzg7-F1a1ujiUvUL8dbQO-C44w@mail.gmail.com>

--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 <sbruno@freebsd.org
> <mailto:sbruno@freebsd.org>> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric =
0
>     mtu 1500
>     >      =20
>      options=3D8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,=
LINKSTATE>
>     >      =20
>      capabilities=3D9009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HW=
CSUM,VLAN_HWFILTER,LINKSTATE>
>     >         ether 02:a0:98:ec:26:1d
>     >         media: Ethernet autoselect (1000baseT <full-duplex>)
>     >         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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c569d38b-5f7f-7227-b958-09652ab18330>