From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Markus Trippelsdorf <markus@trippelsdorf.de>, netdev@vger.kernel.org
Subject: Re: "TCP: eth0: Driver has suspect GRO implementation, TCP performance may be compromised." message with "ethtool -K eth0 gro off"
Date: Fri, 24 Mar 2017 12:56:19 -0300 [thread overview]
Message-ID: <20170324155619.GC23552@localhost.localdomain> (raw)
In-Reply-To: <1490190462.16816.144.camel@edumazet-glaptop3.roam.corp.google.com>
On Wed, Mar 22, 2017 at 06:47:42AM -0700, Eric Dumazet wrote:
> On Mon, 2017-03-20 at 16:27 -0300, Marcelo Ricardo Leitner wrote:
> > This warning is a hint, and can not assume senders are not dumb.
> >
> > Agreed. But we can make it consider such cases. What about the following
> > patch? (untested)
> >
> > I think we can directly account for the size of the timestamps in there,
> > as that won't make a difference to congestion control in case it's
> > wrong, and also validate against MTU if we have it. I didn't subtract
> > the headers from MTU on purpose, as dealing with ipv4/ipv6 there is
> > not worth for the same reason.
> >
> > This should silent this false-positive.
>
>
> Note that the problem could have its origin on a middle box,
> not on the host terminating the TCP flow.
>
> So we can try hard, but we can't eliminate false positives.
Agreed both.
>
> Maybe replace the 12 by MAX_TCP_OPTION_SPACE ?
Yes, can be. Thanks.
Marcelo
prev parent reply other threads:[~2017-03-24 15:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-02 11:52 "TCP: eth0: Driver has suspect GRO implementation, TCP performance may be compromised." message with "ethtool -K eth0 gro off" Markus Trippelsdorf
2017-02-02 12:32 ` Eric Dumazet
2017-02-02 12:34 ` Markus Trippelsdorf
2017-02-02 13:31 ` Eric Dumazet
2017-02-02 13:59 ` Eric Dumazet
2017-02-03 11:54 ` Marcelo Ricardo Leitner
2017-02-03 12:06 ` Markus Trippelsdorf
2017-02-03 13:24 ` Eric Dumazet
2017-02-03 13:53 ` Marcelo Ricardo Leitner
2017-02-03 14:16 ` Eric Dumazet
2017-02-03 14:28 ` Marcelo Ricardo Leitner
2017-02-03 14:47 ` Eric Dumazet
2017-02-06 21:12 ` Marcelo Ricardo Leitner
2017-03-10 12:22 ` Markus Trippelsdorf
2017-03-19 12:14 ` Markus Trippelsdorf
2017-03-19 19:20 ` Eric Dumazet
2017-03-20 19:27 ` Marcelo Ricardo Leitner
2017-03-22 13:47 ` Eric Dumazet
2017-03-24 15:56 ` Marcelo Ricardo Leitner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170324155619.GC23552@localhost.localdomain \
--to=marcelo.leitner@gmail.com \
--cc=eric.dumazet@gmail.com \
--cc=markus@trippelsdorf.de \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).