Bug 458450
Summary: | s2io doesn't support ethtool "sg on" on pci-x card | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Andrew Hecox <ahecox> |
Component: | kernel | Assignee: | Michal Schmidt <mschmidt> |
Status: | CLOSED NOTABUG | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.4 | CC: | herbert.xu, jon.mason, jtluka, nhorman, 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: | 2011-03-15 10:29:59 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: |
Description
Andrew Hecox
2008-08-08 14:24:04 UTC
after further experimentation, it looks like you cannot enable sg offloading when tx checksumming is off. Maybe this is expected? # for i in on off ; do for j in on off ; do for k in on off ; do echo "--- tx $i + sg $j + gso $k ---" ; ethtool -K eth1 tx $i + sg $j + gso $k ; done ; done ; done --- tx on + sg on + gso on --- --- tx on + sg on + gso off --- --- tx on + sg off + gso on --- --- tx on + sg off + gso off --- --- tx off + sg on + gso on --- Cannot set device scatter-gather settings: Invalid argument --- tx off + sg on + gso off --- Cannot set device scatter-gather settings: Invalid argument --- tx off + sg off + gso on --- --- tx off + sg off + gso off --- Andrew, if you think this is really a bug, please raise these flags: rhel‑5.5.0 ? pm_ack ? devel_ack ? qa_ack + Thanks. set (I can't set qa_ack+) (In reply to comment #1) > after further experimentation, it looks like you cannot enable sg offloading > when tx checksumming is off. Maybe this is expected? Yes, checksumming is needed for SG. This is enforced by net/core/ethtool.c:ethtool_set_sg() ... if (edata.data && !(dev->features & NETIF_F_ALL_CSUM)) return -EINVAL; ... |