netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tg3:  Fix handling of non-acceleration vlans
@ 2014-09-19 22:23 Vladislav Yasevich
  2014-09-19 22:23 ` [PATCH v2 1/2] tg3: Work around HW/FW limitations with vlan encapsulated frames Vladislav Yasevich
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Vladislav Yasevich @ 2014-09-19 22:23 UTC (permalink / raw)
  To: netdev; +Cc: Vladislav Yasevich, Prashant Sreedharan, Michael Chan

TG3 can't cope with checksum and TSO offloads when vlan headers were
not accelerated.  This can be demonstrated with 802.1ad vlans or
by configuring a vlan on top of a bridge and turning off vlan acceleration
on the bridge device.

Instead of disabling all vlan acceleration, this series works around
the issue by having tg3 driver call software segmentation and checksum
generation.

v2: - moved the call to software segment soonner
    - Preserve the checksum flags for TSO/LSO case and turn it off
      if software checksum was computed.
    - Add code to correctly receive full sized 802.1ad frames.

Vladislav Yasevich (2):
  tg3: Work around HW/FW limitations with vlan encapsulated frames
  tg3: Allow for receive of full-size 8021AD frames

 drivers/net/ethernet/broadcom/tg3.c | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

-- 
1.9.3

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

end of thread, other threads:[~2014-09-30 21:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-19 22:23 [PATCH v2 0/2] tg3: Fix handling of non-acceleration vlans Vladislav Yasevich
2014-09-19 22:23 ` [PATCH v2 1/2] tg3: Work around HW/FW limitations with vlan encapsulated frames Vladislav Yasevich
2014-09-19 22:23 ` [PATCH v2 2/2] tg3: Allow for receive of full-size 8021AD frames Vladislav Yasevich
2014-09-19 22:59   ` Eric Dumazet
2014-09-19 23:14     ` Prashant Sreedharan
2014-09-19 23:37       ` Eric Dumazet
2014-09-20  0:39 ` [PATCH v2 0/2] tg3: Fix handling of non-acceleration vlans Prashant Sreedharan
2014-09-30 18:53 ` [PATCH] tg3: Allow for receive of full-size 8021AD frames Vlad Yasevich
2014-09-30 21:02   ` David Miller

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