Netdev List
 help / color / mirror / Atom feed
* tg3 issue with tcp checksums and vlan packets
@ 2014-09-16 16:43 Vlad Yasevich
  2014-09-16 16:54 ` Michael Chan
  0 siblings, 1 reply; 3+ messages in thread
From: Vlad Yasevich @ 2014-09-16 16:43 UTC (permalink / raw)
  To: Prashant Sreedharan, Michael Chan; +Cc: netdev@vger.kernel.org

Prashant and Michael

I am seeing a strange issue with tg3 driver when I try to pass to it tcp packets
that have partial checksums and inline (non-accelerated) vlan header.

Looking at the packet at the receiver, it appears as if the tcp checksum is never
updated.  If I strip the vlan header and set vlan_tci, then everything works ok.

You can easily reproduce this by configuring 802.1ad vlans on top of tg3 device.
This will force software tagging, tg3 will not fix checksums and tcp connections
will not be established.

I've looked at tg3 driver and it doesn't look like it tries to pass any checksum
offsets to the nic/firmware.  So it looks like a possible firmware issue.

Can you please take a look.

Thanks
-vlad

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

end of thread, other threads:[~2014-09-16 18:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-16 16:43 tg3 issue with tcp checksums and vlan packets Vlad Yasevich
2014-09-16 16:54 ` Michael Chan
2014-09-16 18:45   ` Vlad Yasevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox