Quantcast
Channel: Intel Communities : Discussion List - Wired Ethernet
Viewing all articles
Browse latest Browse all 4405

VF MAC is not assigned as expected

$
0
0

Hi,

 

My server is running RedHat 7.1.

          ixgbe - 4.0.1-k-rh7.1

          ixgbevf: 2.12.1-k

          igb:5.2.13-k     

          igbvf: 2.0.2-k

 

I want to assign the fix MAC to VF, so I configure like this

#cat /etc/rc.d/rc.local

echo 1 > /sys/class/net/bi0/device/sriov_numvfs

ip link set bi0 vf 0 mac 00:6f:2a:01:b0:00

echo 1 > /sys/class/net/fi0/device/sriov_numvfs

ip link set fi0 vf 0 mac 00:6f:2a:01:f0:00

 

While after system reboot, the MAC of VF fi0 is not expected. (The VFs are loaded in Host OS.)

# ip link show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

2: fi0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000

link/ether 00:a0:a5:68:b9:24 brd ff:ff:ff:ff:ff:ff

vf 0 MAC 00:6f:2a:01:f0:00, spoof checking on, link-state auto

3: fi1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000

link/ether 00:a0:a5:68:b9:25 brd ff:ff:ff:ff:ff:ff

vf 0 MAC 00:6f:2a:01:f1:00, spoof checking on, link-state auto

4: mgmt0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000

link/ether 00:a0:a5:68:b9:22 brd ff:ff:ff:ff:ff:ff

5: mgmt1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000

link/ether 00:a0:a5:68:b9:23 brd ff:ff:ff:ff:ff:ff

6: bi0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000

link/ether 00:a0:a5:68:b9:20 brd ff:ff:ff:ff:ff:ff

vf 0 MAC 00:6f:2a:01:b0:00, spoof checking on, link-state auto

7: bi1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000

link/ether 00:a0:a5:68:b9:21 brd ff:ff:ff:ff:ff:ff

vf 0 MAC 00:6f:2a:01:b1:00, spoof checking on, link-state auto

8: bi0_vf0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000

link/ether 00:6f:2a:01:b0:00 brd ff:ff:ff:ff:ff:ff

9: bi1_vf1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000

link/ether 86:56:ec:3e:7f:8f brd ff:ff:ff:ff:ff:ff

10: fi0_vf0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000

link/ether f2:35:76:f5:02:82 brd ff:ff:ff:ff:ff:ff

11: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT

    link/ether 52:54:00:45:b8:12 brd ff:ff:ff:ff:ff:ff

12: fi1_vf0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000

link/ether 2a:9a:2e:0b:45:88 brd ff:ff:ff:ff:ff:ff

13: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN mode DEFAULT qlen 500

link/ether 52:54:00:45:b8:12 brd ff:ff:ff:ff:ff:ff

 

Do you have any idea?

 

Br, Nicole


Viewing all articles
Browse latest Browse all 4405

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>