netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/06]: VLAN TCI truncation fixes
@ 2008-07-06 22:48 Patrick McHardy
  2008-07-07  1:51 ` Jeff Garzik
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick McHardy @ 2008-07-06 22:48 UTC (permalink / raw)
  To: Linux Netdev List
  Cc: Jeff Garzik, jeffrey.t.kirsher, jesse.brandeburg, PJ Waskiewicz,
	john.ronciak, ionut, baum, andy

These patches fix all drivers supporting VLAN header stripping to
pass the complete VLAN TCI to vlan_hwaccel_{rx,receive_skb} instead
of just the VID. The upper three bits contain the priority and are
used for ingress priority mappings.

The e1000 patch is runtime tested, the others only compile tested.


 drivers/net/e1000/e1000_main.c |   12 ++++--------
 drivers/net/e1000e/netdev.c    |    3 +--
 drivers/net/igb/igb_main.c     |    3 +--
 drivers/net/ixgb/ixgb_main.c   |    6 ++----
 drivers/net/starfire.c         |    2 +-
 drivers/net/tehuti.c           |    2 +-
 drivers/net/tehuti.h           |    1 +
 7 files changed, 11 insertions(+), 18 deletions(-)

Patrick McHardy (6):
      e1000: don't truncate VLAN TCI with VLAN stripping
      e1000e: don't truncate VLAN TCI with VLAN stripping
      igb: don't truncate VLAN TCI with VLAN stripping
      ixgb: don't truncate VLAN TCI with VLAN stripping
      starfire: don't truncate VLAN TCI with VLAN stripping
      tehuti: don't truncate VLAN TCI with VLAN stripping


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

end of thread, other threads:[~2008-07-07 21:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-06 22:48 [PATCH 00/06]: VLAN TCI truncation fixes Patrick McHardy
2008-07-07  1:51 ` Jeff Garzik
2008-07-07  2:11   ` Patrick McHardy
2008-07-07  3:49     ` David Miller
2008-07-07 21:16       ` Jeff Kirsher

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