From: Vlad Yasevich <vyasevich@gmail.com>
To: Prashant Sreedharan <prashant@broadcom.com>,
Michael Chan <mchan@broadcom.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: tg3 issue with tcp checksums and vlan packets
Date: Tue, 16 Sep 2014 12:43:21 -0400 [thread overview]
Message-ID: <541868A9.7080407@gmail.com> (raw)
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
next reply other threads:[~2014-09-16 16:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-16 16:43 Vlad Yasevich [this message]
2014-09-16 16:54 ` tg3 issue with tcp checksums and vlan packets Michael Chan
2014-09-16 18:45 ` Vlad Yasevich
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=541868A9.7080407@gmail.com \
--to=vyasevich@gmail.com \
--cc=mchan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=prashant@broadcom.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.