Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #66257
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ben Hutchings <ben@decadent.org.uk> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#851825: ethtool: ifdown/ifup sequence fails if offload_tx off is set in iface stanza |
| Date | Thu, 30 Jan 2020 18:20:01 +0100 |
| Message-ID | <zulDX-6ig-3@gated-at.bofh.it> (permalink) |
| References | <t1dVn-5OD-1@gated-at.bofh.it> <ujXbc-8u5-9@gated-at.bofh.it> <uk7ay-6p7-47@gated-at.bofh.it> <t1dVn-5OD-1@gated-at.bofh.it> <uk7ay-6p7-47@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Thu Jan 30 17:10:12 2020 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | 0.25 |
| Reply-To | Ben Hutchings <ben@decadent.org.uk>, 851825@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian Kernel Team <debian-kernel@lists.debian.org> |
| X-Debian-Pr-Message | followup 851825 |
| X-Debian-Pr-Package | ethtool |
| X-Debian-Pr-Source | ethtool |
| X-Spam-Bayes | score:0.0000 Tokens: new, 18; hammy, 150; neutral, 68; spammy, 0. spammytokens: hammytokens:0.000-+--H*ct:application, 0.000-+--H*ct:protocol, 0.000-+--H*ct:micalg, 0.000-+--H*ct:signed, 0.000-+--H*ct:pgp-signature |
| Content-Type | multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-USug9aauBJYLRrkZDnBk" |
| User-Agent | Evolution 3.34.1-2+b1 |
| MIME-Version | 1.0 |
| X-Sa-Exim-Connect-IP | 2001:470:79f1:8:b3c2:4aaf:21d5:4979 |
| X-Sa-Exim-Mail-From | ben@decadent.org.uk |
| X-Sa-Exim-Scanned | No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1582361 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 72 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 30 Jan 2020 17:46:29 +0100 |
| X-Original-Message-ID | <d8d91f8dfc553e8feeedc54941cd6e3f4c4c09bc.camel@decadent.org.uk> |
| X-Original-References | <148480534488.25939.14020384649248277992.reportbug@vmsid64.startrek.nachtgeist.net> <1504045120.4448.26.camel@decadent.org.uk> <9465231c-8bee-929f-f523-504954127fb1@nachtgeist.net> <148480534488.25939.14020384649248277992.reportbug@vmsid64.startrek.nachtgeist.net> <9465231c-8bee-929f-f523-504954127fb1@nachtgeist.net> |
| Xref | csiph.com linux.debian.bugs.dist:993743 linux.debian.kernel:66257 |
Cross-posted to 2 groups.
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Wed, 30 Aug 2017 10:24:52 +0200 Daniel Reichelt <debian@nachtgeist.net> wrote: > On 08/30/2017 12:18 AM, Ben Hutchings wrote: > > I can't reproduce this. What driver is used for eth0 (ethtool -i shows > > this)? > > Ben, > > you're on to something: > > > # ethtool -i eth0 > driver: vif [...] > Indeed, this only happens in XEN guests running on a jessie host (didn't > get around yet to test whether a stretch host makes the difference). > > On any other hw I own (a couple of e1000e and a r8169), ethtool always > exits 0, with changes to offloading having been made or not. > > Sorry for not mentioning the fact about VMs earlier...just didn't think > of it. Returning to this at last… the problem is that the xen-netfront/vif driver always enables TX checksum offload for IPv4 and only allows it to be controlled for IPv6. That might be a bug in the driver or just a limitation of the Xen PV networking protocol. Initially the interface has TX checksum offload enabled for IPv4 only. Running "ethtool -K tx off" can't disable it for IPv4 (failure), but running "ethtool -K tx on" does enable it for IPv6 (success). Running "ethtool -K tx on" and then "ethtool -K tx off" succeeds, but still has no effect on TX checksum offload for IPv4. I don't see this as a bug in ethtool. Ben. -- Ben Hutchings For every complex problem there is a solution that is simple, neat, and wrong.
Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread
Bug#851825: ethtool: ifdown/ifup sequence fails if offload_tx off is set in iface stanza Ben Hutchings <ben@decadent.org.uk> - 2020-01-30 18:20 +0100
csiph-web