From: Rick Jones <rick.jones2@hpe.com>
To: Yuval Mintz <Yuval.Mintz@qlogic.com>,
Alexander Duyck <alexander.duyck@gmail.com>
Cc: Manish Chopra <manish.chopra@qlogic.com>,
David Miller <davem@davemloft.net>,
netdev <netdev@vger.kernel.org>,
Ariel Elior <Ariel.Elior@qlogic.com>,
Tom Herbert <tom@herbertland.com>,
Hannes Frederic Sowa <hannes@redhat.com>
Subject: Re: [PATCH net-next 0/5] qed/qede: Tunnel hardware GRO support
Date: Wed, 22 Jun 2016 14:52:34 -0700 [thread overview]
Message-ID: <576B08A2.8080603@hpe.com> (raw)
In-Reply-To: <CO2PR11MB0088C4DEAFEE71B0D865DB33972C0@CO2PR11MB0088.namprd11.prod.outlook.com>
On 06/22/2016 11:22 AM, Yuval Mintz wrote:
> But seriously, this isn't really anything new but rather a step forward in
> the direction we've already taken - bnx2x/qede are already performing
> the same for non-encapsulated TCP.
Since you mention bnx2x... I would argue that the NIC firmware on
those NICs driven by bnx2x is doing it badly. Not so much from a
functional standpoint I suppose, but from a performance one. The
NIC-firmware GRO done there has this rather unfortunate assumption about
"all MSSes will be directly driven by my own physical MTU" and when it
sees segments of a size other than would be suggested by the physical
MTU, will coalesce only two segments together. They then do not get
further coalesced in the stack.
Suffice it to say this does not do well from a performance standpoint.
One can disable LRO via ethtool for these NICs, but what that does is
disable old-school LRO, not GRO-in-the-NIC. To get that disabled, one
must also get the bnx2x module loaded with "disable-tpa=1" so the Linux
stack GRO gets used instead.
Had the bnx2x-driven NICs' firmware not had that rather unfortunate
assumption about MSSes I probably would never have noticed.
happy benchmarking,
rick jones
next prev parent reply other threads:[~2016-06-22 21:52 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-22 8:25 [PATCH net-next 0/5] qed/qede: Tunnel hardware GRO support Manish Chopra
2016-06-22 8:25 ` [PATCH net-next 1/5] net: export udp and gre gro_complete() APIs Manish Chopra
2016-06-22 8:25 ` [PATCH net-next 2/5] qede: Add support to handle VXLAN hardware GRO packets Manish Chopra
2016-06-22 8:25 ` [PATCH net-next 3/5] qede: Add support to handle GENEVE " Manish Chopra
2016-06-22 8:25 ` [PATCH net-next 4/5] qede: Add support to handle GRE " Manish Chopra
2016-06-22 8:25 ` [PATCH net-next 5/5] qed: Enable hardware GRO feature for encapsulated packets Manish Chopra
2016-06-22 16:27 ` [PATCH net-next 0/5] qed/qede: Tunnel hardware GRO support Alexander Duyck
2016-06-22 17:16 ` Yuval Mintz
2016-06-22 17:45 ` Alexander Duyck
2016-06-22 18:22 ` Yuval Mintz
2016-06-22 21:32 ` Alexander Duyck
2016-06-22 22:32 ` Hannes Frederic Sowa
2016-06-22 23:42 ` Eric Dumazet
2016-06-22 21:52 ` Rick Jones [this message]
2016-06-22 22:47 ` Eric Dumazet
2016-06-22 22:56 ` Alexander Duyck
2016-06-22 23:31 ` Eric Dumazet
2016-06-22 23:59 ` Tom Herbert
2016-06-23 0:11 ` Alexander Duyck
2016-06-23 4:10 ` Yuval Mintz
2016-06-23 4:17 ` Yuval Mintz
2016-06-23 17:07 ` Alexander Duyck
2016-06-23 21:06 ` Yuval Mintz
2016-06-23 23:20 ` Alexander Duyck
2016-06-24 5:20 ` Yuval Mintz
2016-06-24 16:44 ` Alexander Duyck
2016-06-24 13:09 ` Edward Cree
2016-06-24 16:31 ` Tom Herbert
2016-06-24 17:21 ` Edward Cree
2016-06-26 6:09 ` Yuval Mintz
2016-06-22 23:52 ` Rick Jones
2016-06-23 0:18 ` Alexander Duyck
2016-06-22 23:10 ` Rick Jones
2016-06-23 0:48 ` Rick Jones
2016-06-23 9:03 ` Yuval Mintz
2016-06-26 19:53 ` David Miller
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=576B08A2.8080603@hpe.com \
--to=rick.jones2@hpe.com \
--cc=Ariel.Elior@qlogic.com \
--cc=Yuval.Mintz@qlogic.com \
--cc=alexander.duyck@gmail.com \
--cc=davem@davemloft.net \
--cc=hannes@redhat.com \
--cc=manish.chopra@qlogic.com \
--cc=netdev@vger.kernel.org \
--cc=tom@herbertland.com \
/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).