Thread (5 messages) 5 messages, 4 authors, 2003-05-21

Re: e1000 patch for linuxppc_2_4_devel

From: Daniel Jacobowitz <hidden>
Date: 2003-05-18 04:39:01

On Fri, May 16, 2003 at 05:04:54PM -0700, Mark Rakes wrote:
quoted hunk ↗ jump to hunk
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);
 		}
That patch doesn't do anything but move a line break.  Is that really
what you meant to do?

--
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help