linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* e1000 patch for linuxppc_2_4_devel
@ 2003-05-17  0:04 Mark Rakes
  2003-05-18  4:39 ` Daniel Jacobowitz
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mark Rakes @ 2003-05-17  0:04 UTC (permalink / raw)
  To: linuxppc-dev


this patch fixes e1000 vlan hardware acceleration on ppc.

vlan tags weren't swapped.

thanks!
-Mark Rakes


diff -Nru a/drivers/net/e1000/e1000_main.c
b/drivers/net/e1000/e1000_main.c
--- a/drivers/net/e1000/e1000_main.c	Fri May 16 17:00:24 2003
+++ b/drivers/net/e1000/e1000_main.c	Fri May 16 17:00:24 2003
@@ -2062,7 +2062,8 @@
  		skb->protocol = eth_type_trans(skb, netdev);
  		if(adapter->vlgrp && (rx_desc->status & E1000_RXD_STAT_VP)) {
  			vlan_hwaccel_rx(skb, adapter->vlgrp,
-				le16_to_cpu(rx_desc->special & E1000_RXD_SPC_VLAN_MASK));
+				le16_to_cpu(rx_desc->special &
+					    E1000_RXD_SPC_VLAN_MASK));
  		} else {
  			netif_rx(skb);
  		}


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-05-21 22:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-17  0:04 e1000 patch for linuxppc_2_4_devel Mark Rakes
2003-05-18  4:39 ` Daniel Jacobowitz
2003-05-19 16:25   ` Mark Rakes
2003-05-19 15:21 ` linas
2003-05-20 19:07 ` Mark Rakes
2003-05-21 22:10   ` Paul Mackerras

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