Hi Todd,
Just wanted to help you to understand the issue we are facing .
With static VLAN configured on the interface , hardware sends the packet but
vlan is stripped.
With PF_PACKET socket where we are constructing entire Ethernet packet our self
, the packet is dropped by the hardware.
I have attached a simple C program which uses PF_PACKET SOCKET to send one test
ARP packet with VLAN, and you can clearly observe that packet is dropped.
You can compile it with
Sudo make compile
Run it with
./test "interface name (example eth0)"
I hope it will help you to quickly identify the issue , and may be you can
suggest something to fix it or if you can confirm if this is as expected as
per design.
Thanks & Regards
Vijay Agrawal
-----Original Message-----
From: Vijay Agrawal
Sent: 29 January 2014 10:30
To: 'Fujinaka, Todd'; e1000-de...@lists.sf.net
Subject: RE: [E1000-devel] ixgbe-3.17.3 :VLAN tagged packets does not work when
using PF-PACKET socket
Hi Todd,
Thanks a lot for the response.
Can you please explain this a bit more.
When you say you are stripping the VLAN tags , so the packet with VLAN tag
should go out without VLAN tag , but here we observe that no packet is going
out , so it look like the hardware drops the VLAN tag packet, we see no packet
on the ethereal. Can you please explain this ?
Is there any work around solution to work with VLAN? Or with this driver it's
just not possible.
Thanks again for your quick response .
Thanks & Regards
Vijay Agrawal
-----Original Message-----
From: Fujinaka, Todd [mailto:todd.fujin...@intel.com]
Sent: 29 January 2014 02:04
To: Vijay Agrawal; e1000-de...@lists.sf.net
Subject: RE: [E1000-devel] ixgbe-3.17.3 :VLAN tagged packets does not work when
using PF-PACKET socket
Our hardware strips VLAN tags in order to support Data Center Bridging (I think
the details are in 802.1Q for DCB). DCB uses the same offset as VLAN tags and
if we didn't strip the tags we couldn't have interoperability between endpoints
that had DCB enabled and not enabled.
Todd Fujinaka
Software Application Engineer
Networking Division (ND)
Intel Corporation
todd.fujin...@intel.com
(503) 712-4565
-----Original Message-----
From: Vijay Agrawal [mailto:vagra...@ixiacom.com]
Sent: Monday, January 27, 2014 10:02 PM
To: e1000-de...@lists.sf.net
Subject: [E1000-devel] ixgbe-3.17.3 :VLAN tagged packets does not work when
using PF-PACKET socket
Hi ,
We are observing a issue with this driver , we are using PF-Packet sockets for
sending receiving Ethernet packets, but if the packet is Vlan tagged it is not
sent/received on the interface. Neither the packet is seen on the ethereal
capture. Here we are just using PF-PACKET socket and no IP and Vlan is
configured on the physical interface.
The same test if we run on 1 G node it works , so as it seems there is some
limitations with this 10G driver.
Can you please help.
Thanks & Regards
Vijay Agrawal
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit
http://communities.intel.com/community/wired