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

ARP not working for Virtual Functions created over XL710 port

Acdam
Beginner
456 Views

Hi Experts,

 

I have created 2 virtual functions over a PF using below commands:

echo 2 > /sys/class/net/p7p1/device/sriov_numvfs

 

After running this command, it created 2 VFs, which are now visible in ifconfig command output as p7p1_0 and p7p1_1

 

I have assigned 2 IPs of same subnet to both the VFs, lets say:

p7p1_0 => 192.168.1.5 and MAC address 11:22:33:44:55:66

p7p1_1 => 192.168.1.6 and MAC address 12:23:34:45:56:67

 

This physical port is connected via back to back connection to p7p1 of another server which is having ip address 192.168.1.7 on connected physical port.

 

Server-1 (PF p7p1 : 192.168.1.7)  <======> Server-2(VF0 p7p1_0 : 192.168.1.5 and VF1 p7p1_1 :192.168.1.6)

 

Now, when I ping 192.168.1.5 and 192.168.1.6 from Server-1 via interface (192.168.1.7), then below are the ARP entries at Server-1

 

ARP entries on Server-1 :

? (192.168.1.5) at 11:22:33:44:55:66 [ether] on p7p1

? (192.168.1.6) at 11:22:33:44:55:66 [ether] on p7p1

 

Which means that VF 0 responded to ARP request for both the VFs (VF0 and VF1).

 

Driver versions:

[root@server]# modinfo i40e | grep version
version: 2.12.6
[root@server]# modinfo iavf | grep version
version: 4.4.2

Can someone please help on what's going wrong in above setup for ARP resolution ?

 

Actual Issue caused by above wrong ARP entries:

I want to run 2 DPDK based applications on created VFs (App1 on VF0 and App2 on VF1) on Server-2 and Server-1 will pump data equally for both VFs/Applications.

As Server-1 is having MAC address of VF0 for both the ARP entries corresponding to VF0 and VF1, so all the data packets pumped by Server-1 (destination to VF0 and VF1) are getting received at only VF0 (App-1) be its destination is VF0 or VF1.

 

Best Regards,

0 Kudos
2 Replies
Zigfreid_Intel
Moderator
414 Views

Hello Acdam,

 

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 have any other inquiry in the future as this thread will no longer be monitored.


Best regards,

Zigfreid I.

Intel® Customer Support


0 Kudos
Acdam
Beginner
407 Views

Hi @Zigfreid_Intel ,

 

Thanks for responding on this thread.

As I have explained in the original post that issue is at ARP resolution of interfaces over VFs and to rule out the DPDK and coding stuff, I have recreated this issue with just Pings over VFs (explained in original post).

 

Please refer to attached image as well for the same.

 

Would be of great help if you can please explain on why only 1 VF responds to ARP request for all VF interfaces ?

 

Acdam_0-1658306936298.png

 

 

Best Regards,

0 Kudos
Reply