From: davem@davemloft.net (David Miller)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/6] drivers: net: xgene: Using static MSS values
Date: Tue, 10 May 2016 15:53:54 -0400 (EDT) [thread overview]
Message-ID: <20160510.155354.2183670732162584648.davem@davemloft.net> (raw)
In-Reply-To: <1462838656-22043-6-git-send-email-isubramanian@apm.com>
From: Iyappan Subramanian <isubramanian@apm.com>
Date: Mon, 9 May 2016 17:04:15 -0700
> Due to the nature of hardware design for TSO, if the MSS values that are
> stored in the register, changes during TSO operation, data corruption may
> occur.
>
> This patch fixes the issue by using one of the predefined MSS values.
>
> Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
> Tested-by: Toan Le <toanle@apm.com>
This is a very serious quality of implementation issue.
And it could quietly kill performance for some users, and there is no
way for them to find out that this is happening.
If you use a predefined set of MSS values, if the MSS value we need is
between two of them then there is going to be wasted space on the
wire. It's can therefore certainly be better to not do TSO in that
case.
I think you absolutely need to disable TSO by default, and require the
user to explicitly turn it on, unless you can fix this problem in
another way.
Thanks.
next prev parent reply other threads:[~2016-05-10 19:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-10 0:04 [PATCH 0/6] drivers: net: xgene: Bug fixes Iyappan Subramanian
2016-05-10 0:04 ` [PATCH 1/6] drivers: net: xgene: fix IPv4 forward crash Iyappan Subramanian
2016-05-10 0:04 ` [PATCH 2/6] drivers: net: xgene: fix sharing of irqs Iyappan Subramanian
2016-05-10 0:04 ` [PATCH 3/6] drivers: net: xgene: fix ununiform latency across queues Iyappan Subramanian
2016-05-10 0:04 ` [PATCH 4/6] drivers: net: xgene: fix statistics counters race condition Iyappan Subramanian
2016-05-10 0:04 ` [PATCH 5/6] drivers: net: xgene: Using static MSS values Iyappan Subramanian
2016-05-10 19:53 ` David Miller [this message]
2016-05-10 0:04 ` [PATCH 6/6] drivers: net: xgene: fix register offset Iyappan Subramanian
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=20160510.155354.2183670732162584648.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-arm-kernel@lists.infradead.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).