Hi.
There seems to be a breakage in the VLAN TX HW acceleration in gianfar (kernel
3.1). It seems like the previous patch that was submitted forgotten to
initialize the TX registers.
--- drivers/net/gianfar.c-orig 2011-11-28 11:04:09.318992481 +0100
+++ drivers/net/gianfar.c 2011-11-28 11:05:43.530990635 +0100
@@ -394,6 +394,9 @@
/* Init rctrl based on our settings */
gfar_write(®s->rctrl, rctrl);
+ if (ndev->features & NETIF_F_HW_VLAN_TX)
+ tctrl |= TCTRL_VLINS;
+
if (ndev->features & NETIF_F_IP_CSUM)
tctrl |= TCTRL_INIT_CSUM;
After this patch, it seems vlan rx/tx for eTSEC works again.
Best regards
Staale Aakermann
________________________________
CONFIDENTIALITY
This e-mail and any attachment contain KONGSBERG information which may be
proprietary, confidential or subject to export regulations, and is only meant
for the intended recipient(s). Any disclosure, copying, distribution or use is
prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in
error, please delete it immediately from your system and notify the sender
properly.
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev