Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755113Ab0KEXV6 (ORCPT ); Fri, 5 Nov 2010 19:21:58 -0400 Received: from mx.unsolicited.net ([173.255.193.190]:47659 "EHLO mx.unsolicited.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753817Ab0KEXV4 (ORCPT ); Fri, 5 Nov 2010 19:21:56 -0400 X-Greylist: delayed 938 seconds by postgrey-1.27 at vger.kernel.org; Fri, 05 Nov 2010 19:21:56 EDT Message-ID: <4CD48DE6.7060906@unsolicited.net> Date: Fri, 05 Nov 2010 23:06:14 +0000 From: David User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10 MIME-Version: 1.0 To: netdev@vger.kernel.org, Linux Kernel Mailing List Subject: Sky2 - problems with VLANs - kernel 2.6.36 X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2102 Lines: 50 I've just installed a Lycom dual port gigabit ethernet card, picked up as follows :- 03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8062 PCI-E IPMI Gigabit Ethernet Controller (rev 14) Subsystem: Marvell Technology Group Ltd. Device 6222 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: sky2 Kernel modules: sky2 I'm having a problem with VLANs. Outgoing packets are tagged correctly and devices on the VLAN are responding. Unfortunately all of the response packets stay on the raw device and are not allocated to the VLAN. I've done some investigation (printks etc.), and have found that neither of the following cases in sky2_status_intr() are being triggered... case OP_RXVLAN: printk("RXVLAN, length=%u, status=%u\n", length, status); sky2->rx_tag = length; break; case OP_RXCHKSVLAN: printk("RXCHKSVLAN, length=%u, status=%u\n", length, status); sky2->rx_tag = length; /* fall through */ ... however the status when calling sky2_skb_rx() does have GMR_FS_VLAN set, it's just we haven't been able to find out which VLAN the packet comes from (and sky2->rx_tag is zero). Does anyone have any suggestions as to how I proceed from here? I'm happy to test patches etc. Cheers David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/