Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 449175

Summary: E1000 driver enables TSOv6 for hardware that doesn't support it
Product: Red Hat Enterprise Linux 5 Reporter: Bhavesh Davda <bhavesh>
Component: kernelAssignee: Andy Gospodarek <agospoda>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: low    
Version: 5.1CC: dzickus, jesse.brandeburg, mgahagan, peterm
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 08:53:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 502011    
Attachments:
Description Flags
rhel5-test0.patch none

Description Bhavesh Davda 2008-05-30 21:48:27 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible: 100%


Steps to Reproduce:
1. Boot RHEL5.1 in a VMware VM, with an e1000 virtual NIC that emulates an
82545EM, which doesn't support TSO over IPv6.
2. ethtool -k ethX tso on
3. Transmit any TCP over IPv6 packet.
  
Actual results:

Hits an ASSERT in the VMware hypervisor which triggers if TSO6 is attempted to
be used on the 82545EM emulated vNIC.

Expected results:

TSO6 should not be used for NICs that don't support it.

Additional info:

The Intel version of the driver (http://e1000.sourceforge.net), at least
versions 7.6.12 and later that I looked at, conditionally advertise NETIF_F_TSO6
in e1000_set_tso, based on whether e1000_probe detected a mac type >= 82547_rev_2.

We could patch our emulation to not assert that TSO6 is being used for transmit,
but that would only be a workaround for an issue with the driver, which could
cause undefined behaviour with real E1000 hardware as well.

Comment 1 Andy Gospodarek 2008-06-10 16:29:03 UTC
Created attachment 308836 [details]
rhel5-test0.patch

I didn't look at the sourceforge driver, but I see the error in the logic in
e1000_set_tso.	This patch should do the trick.

If you get a chance to build a kernel and test it that would be great.	If not
I will integrate it into my test kernels later this week and post a link to
them in this bugzilla when they are ready.

Comment 2 Andy Gospodarek 2008-06-16 13:42:33 UTC
My test kernels have been updated to include a patch for this bugzilla.

http://people.redhat.com/agospoda/#rhel5

Please test them and report back your results.

Comment 3 Bhavesh Davda 2008-06-16 16:28:01 UTC
The patch looks good, and we'll give the new kernel a spin and let you know soon
on whether it fixes the problem. I fully expect it to fix the issue, but stay
tuned...

Thanks for the quick turnaround!

Comment 4 Jesse Brandeburg 2008-09-11 17:49:39 UTC
is this bug resolved?

Comment 5 RHEL Program Management 2009-02-03 23:14:23 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 6 Andy Gospodarek 2009-02-09 14:05:39 UTC
I'm sure it does, but I never heard back.  We'll get this in the next update.

Comment 7 RHEL Program Management 2009-02-16 15:44:25 UTC
Updating PM score.

Comment 9 Don Zickus 2009-05-06 17:13:55 UTC
in kernel-2.6.18-144.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Please do NOT transition this bugzilla state to VERIFIED until our QE team
has sent specific instructions indicating when to do so.  However feel free
to provide a comment indicating that this fix has been verified.

Comment 12 errata-xmlrpc 2009-09-02 08:53:13 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-1243.html