Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5388 Discussions

VF failed to receive vlan tagged packet sent by another VF connected directly without switch

darkless
Beginner
944 Views

Everything is ok if vlan is not set. That is to say, packets are sent by ens1f0 vf0 and packets are received successfully by ens1f1 vf0. The ens1f0 and ens1f1 is connected directly with physical cable.

But ens1f1 vf0 can't receive anything if vlan is set in both sides. DPDK is used to send and receive/capture packet. 

Is it that I forget some important setting for PF here? Looking forward to your good suggestion what to check.

#how I set vlan ID 

ip link set ens1f0 vf 0 mac 00:11:22:33:44:66 vlan 2

ip link set ens1f1 vf 0 mac 00:11:22:33:44:55 vlan 2

 

#How NIC VF is controlled by DPDK

Network devices using DPDK-compatible driver
============================================
0000:03:10.0 '82599 Ethernet Controller Virtual Function 10ed' drv=igb_uio unused=ixgbevf
0000:03:10.1 '82599 Ethernet Controller Virtual Function 10ed' drv=igb_uio unused=ixgbevf

#how to look like when I input "ip link show"

4: ens1f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9600 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether f8:f2:1e:13:e0:9c brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:11:22:33:44:66, vlan 2, spoof checking off, link-state auto, trust on, query_rss off
5: ens1f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9600 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether f8:f2:1e:13:e0:9d brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:11:22:33:44:55, vlan 2, spoof checking off, link-state auto, trust on, query_rss off

0 Kudos
1 Reply
Mike_Intel
Moderator
930 Views

Hello darkless,


Thank you for posting in Intel Ethernet Communities. 


Since this question involves DPDK, please check with Intel Premier Support for further assistance. See the following for access to Intel Premier Support.

Click the "Access and Log In" to contact the DPDK support https://www.intel.com/content/www/us/en/design/support/ips/training/welcome.html

 

Please be informed that we will now close this request. Just feel free to post a new question if you may have any other inquiry in the future as this thread will no longer be monitored.

 

May you have a great day!


Thank you.


Best regards,

Michael L.

Intel® Customer Support Technician


0 Kudos
Reply