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.
# !/bin/sh -e
# 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
# 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
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.
Intel Customer Support
Agent under contract to Intel
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