Intel 82545 & TSO

Sean Bruno sbruno at freebsd.org
Thu Apr 20 17:55:56 UTC 2017



On 04/05/17 15:54, Vijay Singh wrote:
> This is from FreeBSD 10.3.
> 
> On Wed, Apr 5, 2017 at 2:53 PM, Sean Bruno <sbruno at freebsd.org
> <mailto:sbruno at freebsd.org>> wrote:
> 
> 
> 
>     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 TCP
>     > 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 see no
>     > support for TSO in that file. I have verified that TSO is enabled on
>     > the host. What am  I missing?
>     >
>     > em0 at pci0:2:0:0: class=0x020000 card=0x075015ad chip=0x100f8086
>     rev=0x01 hdr=0x00
>     >     vendor     = 'Intel Corporation'
>     >     device     = '82545EM Gigabit Ethernet Controller (Copper)'
>     >     class      = network
>     >     subclass   = ethernet
>     >
>     > ifconfig -vvvm em0
>     > em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0
>     mtu 1500
>     >       
>      options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
>     >       
>      capabilities=9009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,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
>     > _______________________________________________
> 
>     Just so that I'm sure, what version of FreeBSD is this from?
> 
>     sean
> 
> 

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20170420/ec1e4460/attachment.sig>


More information about the freebsd-net mailing list