Bug 783109

Summary: Fail to turn on nic's tso when boot a guest using fd
Product: Red Hat Enterprise Linux 5 Reporter: Siyuan Wang <siywang>
Component: kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.8CC: juzhang, mkenneth, rhod, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-01 11:39:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Siyuan Wang 2012-01-19 11:35:32 UTC
Description of problem:
Run "ethtool -K eth0 tso on" failed when boot a guest using "-net tap,vlan=0,fd=21"

# ethtool -K eth0 tso on
Cannot set device tcp segmentation offload settings: Invalid argument
# echo $?
88

Version-Release number of selected component (if applicable):
2.6.18-304.el5

How reproducible:
100%

Steps to Reproduce:
1. boot a guest with "-net tap,vlan=0,fd=21"

2. turn on tso with command:
ethtool -K eth0 tso on

Actual results:
the command got an error:
Cannot set device tcp segmentation offload settings: Invalid argument

Expected results:
turn on tso

Additional info:
1. execute "echo $?" after "ethtool -K eth0 tso on", I can get the value 88

2. boot a guest with script rather than fd, everything is ok.
-net tap,vlan=0,script=/etc/qemu-ifup-switch

Comment 1 Siyuan Wang 2012-01-19 11:42:13 UTC
kvm version:
kvm-83-249.el5

Comment 2 Ronen Hod 2012-02-01 11:39:54 UTC
Closing as we will only fix urgent bugs in RHEL5.9
Please check it with RHEL6.2