Date: Thu, 20 Apr 2017 11:28:41 -0700 From: Vijay Singh <vijju.singh@gmail.com> To: Sean Bruno <sbruno@freebsd.org> Cc: "freebsd-net@freebsd.org" <net@freebsd.org> Subject: Re: Intel 82545 & TSO Message-ID: <CALCNsJT08-FGFsnju3=8gMmvzJpsWGsBoQnTTHqcXPYMZ-frtw@mail.gmail.com> In-Reply-To: <c569d38b-5f7f-7227-b958-09652ab18330@freebsd.org> References: <CALCNsJQ4-ERmdH4j8zpT3t42F-1ngh5_-UB9rAt-ez9tZDDDXA@mail.gmail.com> <793b585e-8af4-56e3-97eb-942efbc8d06c@freebsd.org> <CALCNsJRMW7fNm%2Bt91F5zd3MsTzg7-F1a1ujiUvUL8dbQO-C44w@mail.gmail.com> <c569d38b-5f7f-7227-b958-09652ab18330@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sure I can do that, but I don't have control over the ESX systems we are running on. If the hardware supports TSO, then it shouldn't be too hard to supplement "lem" to support it as well. The descriptor format seems to be the same, so most likely copying over some code from "em" should do it. On Thu, Apr 20, 2017 at 10:55 AM, Sean Bruno <sbruno@freebsd.org> wrote: > > > 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@freebsd.org > > <mailto:sbruno@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@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 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCNsJT08-FGFsnju3=8gMmvzJpsWGsBoQnTTHqcXPYMZ-frtw>