Hi! The problem is solved (or at least there is a workaround).
So, ixgbe-2.0.75.7 and later drivers (excluding 3.0.12) translates VLAN tag up the stack in promisc mode. Tcpdump can see the tags (-e option), but can not filter by ethtype inside tagged packets. And the correct tcpdump usage is: "tcpdump -i eth3 vlan 993 and mpls". Of course, the one has to know the VLAN number, where mpls packets are sent. The behavior of the latest 3.0.12 version is more peculiar - even in promisc mode only the default VLAN packets are sent up the stack and can be sniffed. The workaround is to create a subinterface with the required VLAN number (using vconfig) and start tcpdump on it: "tcpdump -i vlan0993 mpls". I don't know what to do, if target VLAN number is unknown. It is also possible to patch 3.0.12 source code and make a call to ixgbe_vlan_stripping_disable(adapter) inside ixgbe_set_rx_mode. But you have to uncomment ixgbe_vlan_stripping_disable first (it's commented out now. Why?). WIth such a patch the behavior of 3.0.12 is similar to 2.0.75.7, 2.0.84.11 and 2.1.4. Regards, Alexey ----- Original Message ----- From: "daa" <[email protected]> To: <[email protected]> Sent: Friday, October 15, 2010 7:04 PM Subject: [E1000-devel] ixgbe: Can not sniff MPLS frames Hi, I have a problem with sniffing MPLS unicast frames (ethtype=0x8847). The problem occurs with ixgbe-2.0.75.7 and later drivers, including 3.0.12 (the latest?). Setup: Debian squeeze (2.6.32-5-amd64), Intel X520-SR2 (82599EB dual port). Drivers are compiled without LRO support (as recommended for bridging). The command is "tcpdump -i eth3 mpls". Works fine (MPLS frames are shown) with ixgbe-2.0.44.14, 2.0.62.4 and 2.0.72.4. With later drivers eth3 enters promisc mode and I can see non-MPLS frames (including some non-IP ones), but can not sniff MPLS. What could be a cause? Regards, Alexey. -------------------------------------------------------------------------------- > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev -------------------------------------------------------------------------------- > _______________________________________________ > E1000-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/e1000-devel > To learn more about Intel® Ethernet, visit > http://communities.intel.com/community/wired > ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
