netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Harini Katakam <harinik@xilinx.com>
To: Jennifer Dahm <jennifer.dahm@ni.com>
Cc: netdev@vger.kernel.org, "David S . Miller" <davem@davemloft.net>,
	Nathan Sullivan <nathan.sullivan@ni.com>,
	Rafal Ozieblo <rafalo@cadence.com>,
	Claudiu Beznea <Claudiu.Beznea@microchip.com>,
	Harini Katakam <harini.katakam@xilinx.com>,
	Nicolas Ferre <nicolas.ferre@microchip.com>
Subject: Re: [RFC PATCH 0/2] net: macb: Disable TX checksum offloading on all Zynq
Date: Wed, 1 Aug 2018 18:23:41 +0530	[thread overview]
Message-ID: <CAFcVEC+q1Z=QBD67afVgXrh5khMUDoRmt9c2we2=780JEW0njA@mail.gmail.com> (raw)
In-Reply-To: <CAFcVEC+pc5T900tUezgfNwKx6nzFg8+gF3oPbz7RV7aHcKDy9Q@mail.gmail.com>

Hi Jennifer,

On Tue, Jun 5, 2018 at 10:21 AM, Harini Katakam <harinik@xilinx.com> wrote:
> Hi Jeniffer,
>
> On Mon, Jun 4, 2018 at 8:35 PM, Nicolas Ferre
> <nicolas.ferre@microchip.com> wrote:
>> Jennifer,
>>
>> On 25/05/2018 at 23:44, Jennifer Dahm wrote:
>>>
>>> During testing, I discovered that the Zynq GEM hardware overwrites all
>>> outgoing UDP packet checksums, which is illegal in packet forwarding
>>> cases. This happens both with and without the checksum-zeroing
>>> behavior  introduced  in  007e4ba3ee137f4700f39aa6dbaf01a71047c5f6
>>> ("net: macb: initialize checksum when using checksum offloading"). The
>>> only solution to both the small packet bug and the packet forwarding
>>> bug that I can find is to disable TX checksum offloading entirely.
>>
>>
>
> Thanks for the extensive testing.
> I'll try to reproduce and see if it is something to be fixed in the driver.
>
>> Are the bugs listed above present in all revisions of the GEM IP, only for
>> some revisions?
>> Is there an errata that describe this issue for the Zynq GEM?
>
> @Nicolas, AFAIK, there is no errata for this in either Cadence or
> Zynq documentation.

I was unable to reproduce this issue on Zynq.
Although I do not have HW with two GEM ports,
I tried by routing one GEM via PL and another via on board RGMII.
Since there was no specific errata related to this, I also tried on
subsequent ZynqMP versions with multiple GEM ports but dint find any
checksum issues. I discussed the same with cadence and they
tried the test with 2 bytes of UDP payload on the Zynq GEM IP
version in their regressions and did not hit any issue either.

I tried to reach out earlier to see if you can share your exact
application. Could you please let me know if you have any
further updates?

Regards,
Harini

  reply	other threads:[~2018-08-01 14:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-25 21:44 [RFC PATCH 0/2] net: macb: Disable TX checksum offloading on all Zynq Jennifer Dahm
2018-05-25 21:44 ` [RFC PATCH 1/2] net: macb: Add CAP to disable hardware TX checksum offloading Jennifer Dahm
2018-06-04 15:13   ` Nicolas Ferre
2018-06-07 16:43     ` Jennifer Dahm
2018-05-25 21:44 ` [RFC PATCH 2/2] net: macb: Disable TX checksum offloading on all Zynq Jennifer Dahm
2018-06-04 15:06   ` Nicolas Ferre
2018-06-06  6:50     ` Michal Simek
2018-06-04 15:05 ` [RFC PATCH 0/2] " Nicolas Ferre
2018-06-05  4:51   ` Harini Katakam
2018-08-01 12:53     ` Harini Katakam [this message]
2018-08-07  8:50       ` Claudiu Beznea
2018-08-07  9:09         ` Harini Katakam

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='CAFcVEC+q1Z=QBD67afVgXrh5khMUDoRmt9c2we2=780JEW0njA@mail.gmail.com' \
    --to=harinik@xilinx.com \
    --cc=Claudiu.Beznea@microchip.com \
    --cc=davem@davemloft.net \
    --cc=harini.katakam@xilinx.com \
    --cc=jennifer.dahm@ni.com \
    --cc=nathan.sullivan@ni.com \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.ferre@microchip.com \
    --cc=rafalo@cadence.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).