From: David Jander <david@protonic.nl>
To: netdev@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Subject: BUG: fsl FEC ethernet tx checksum offloading doesn't work with RMII interface
Date: Wed, 28 Oct 2015 10:48:54 +0100 [thread overview]
Message-ID: <20151028104854.025430ce@archvile> (raw)
Hi all,
I was unable to figure out who's maintaining
drivers/net/ethernet/freescale/fec_main.c, so I hope someone can help out on
this list...
We have a board with a RMII phy connected to an i.MX6S. The hardware seems to
be ok, since I can receive and transmit ethernet frames without drops or
errors. However only simple things like ping and dhcp seemed to work. TCP/IP
connections could not be made. When looking at both ends with tcpdump, I
realized that all transmitted packages arrived at the other end with the TCP
and IP header checksums zeroed-out.
After issuing the following command, TCP/IP started working correctly:
$ ethtool --offload eth0 tx off
This works around the issue. For some reason, when the FEC is in RMII mode, it
isn't filling in the checksums.
On another board with an RGMII phy the same kernel works fine without the need
to disable offloading. What can possibly relate this functionality to the
choice of MAC interface?
Best regards,
--
David Jander
Protonic Holland.
next reply other threads:[~2015-10-28 9:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-28 9:48 David Jander [this message]
2015-10-28 11:14 ` BUG: fsl FEC ethernet tx checksum offloading doesn't work with RMII interface Russell King - ARM Linux
2015-10-28 11:19 ` David Jander
2015-10-28 12:31 ` Fabio Estevam
2015-10-28 12:36 ` David Jander
2015-10-29 14:50 ` Fabio Estevam
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=20151028104854.025430ce@archvile \
--to=david@protonic.nl \
--cc=linux-arm-kernel@lists.infradead.org \
--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).