>-----Original Message----- >From: daa [mailto:[email protected]] >Sent: Monday, October 25, 2010 2:07 AM >To: [email protected] >Subject: Re: [E1000-devel] ixgbe: Can not sniff MPLS frames > >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.
Stripping of vlan tags is always enabled because it is required for DCB to work. This is the change that you are running into in 3.0.12. Aside from the change you suggested you can also disable HW VLAN support by building the driver with #undef NETIF_F_HW_VLAN_TX > >Regards, >Alexey Thanks, Emil ------------------------------------------------------------------------------ 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
