Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1,247 Views

SR-IOV - Same MAC address on two VFs in different VLANs on Intel XL-710QDA2

Hi,

we have Intel XL-710QDA2 2x 40G QSFP+ NIC (driver 2.2.4) and SR-IOV configured on top of it.

So far we are using two VFs (one per physical interface/PF) total and we would like to add additional VF to each PF.

Additional VF will be in separate VLAN, but it should have same MAC address. Is this supported setup?

Can we have two VFs with same MAC address (in different VLANs) on the same PF?

MAC addresses are configred staticaly using ip link commands and rc.local script.

OS is Ubuntu 16.04.3 LTS.

cat /etc/rc.local

# !/bin/sh -e

#

# rc.local

#

# This script is executed at the end of each multiuser runlevel.

# Make sure that the script will "exit 0" on success or any other

# value on error.

#

# In order to enable or disable this script just change the execution

# bits.

#

# By default this script does nothing.

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

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

ip link set enp6s0f0 vf 0 mac aa:bb:cc:aa:00:01 vlan 11

ip link set enp6s0f0 vf 1 mac aa:bb:cc:aa:00:01 vlan 31

ip link set enp6s0f1 vf 0 mac aa:bb:cc:bb:00:01 vlan 51

ip link set enp6s0f1 vf 1 mac aa:bb:cc:bb:00:01 vlan 71

exit 0

BR, Mate

0 Kudos
4 Replies
Highlighted
Community Manager
58 Views

Hi Mgrbavac,

 

 

Thank you for posting in Wired Communities. We will further check on this.

 

 

Regards,

 

Sharon T

 

Intel Customer Support

 

Agent under contract to Intel

 

0 Kudos
Highlighted
Community Manager
58 Views

Hi Mgrbavac,

 

 

Please be informed it is not possible to configure multiple VF with identical MAC address, snoop filter will kick in and drop frames in such a configuration. Hope this clarifies.

 

 

Regards,

 

Sharon T

 

Intel Customer Support

 

Agent under contract to Intel

 

0 Kudos
Highlighted
Community Manager
58 Views

Hi Mgrbavac,

 

 

Please feel free to update me if you need clarification or further assistance needed. Thank you.

 

 

Regards,

 

Sharon T

 

Intel Customer Support

 

Agent under contract to Intel
0 Kudos
Highlighted
Beginner
58 Views

In my test environment, I have the a problem: create two vm, attach two vf each other, set the same mac in two vf( these two vf in the same ethernet 82599), but within different vlan id. Then, one vm network has a error(it cannot receive the arp reply, but get in the host). So I think the arp reply may be lost in l2 switch/sorter which in 82599. My ixgbe version: 4.4.0-k-rh7.4, ixgbevf version: 3.2.2-k-rh7.4

 

0 Kudos