netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* thunderx sgmii interface hang
@ 2017-12-12 23:05 Tim Harvey
  2017-12-13 19:43 ` Andrew Lunn
  0 siblings, 1 reply; 12+ messages in thread
From: Tim Harvey @ 2017-12-12 23:05 UTC (permalink / raw)
  To: netdev, Sunil Goutham

Greetings,

We are experiencing an issue on a CN80XX with an SGMII interface
coupled to a TI DP83867IS phy. We have the same PHY connected to the
RGMII interface on the same board design and everything is working as
expected on that nic both before and after triggering the hang.

The nic appears to work fine (pings, TCP etc) up until a performance
test is attempted.
When an iperf bandwidth test is attempted the nic ends up in a state
where truncated-ip packets are being sent out (per a tcpdump from
another board):

2016-02-11 16:40:23.996660 IP truncated-ip - 1454 bytes missing! (tos
0x0, ttl 64, id 39570, offset 0, flags [DF], proto TCP (6), length
1500, bad cksum 172a (->7033)!)
    192.168.1.5.0 > 192.168.168.0.0:  tcp 1480 [bad hdr length 0 - too
short, < 20]

Prior to 'net: thunderx: Fix BGX transmit stall due to underflow'
unplugging the cable and re-plugging would resolve the issue to a
point where it could no longer be created. Prior to this patch a link
status change would disable and re-enable the BGX so perhaps that
helps shed some light on what's going on.

I'm using 4.14.4 with the following patches (although the issue
existed with 4.14.0 as well):
2615c91 net: thunderx: Fix TCP/UDP checksum offload for IPv4 pkts
763d8b3 net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts
93b2e67 net: thunderx: fix double free error

The issue persists regardless of the DP83867 PHY driver being in the
kernel. Any ideas or details that can help troubleshoot this?

Best Regards,

Tim

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-01-02 19:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-12 23:05 thunderx sgmii interface hang Tim Harvey
2017-12-13 19:43 ` Andrew Lunn
2017-12-18 21:53   ` Tim Harvey
2017-12-19  9:47     ` Sunil Kovvuri
2017-12-19 20:52     ` Andrew Lunn
2017-12-22 22:19       ` Tim Harvey
2017-12-22 22:45         ` Andrew Lunn
2017-12-23  0:22           ` Tim Harvey
2017-12-22 23:00         ` David Daney
2017-12-23  0:22           ` Tim Harvey
2017-12-23  0:30             ` David Daney
2018-01-02 19:18               ` Tim Harvey

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).