[Bug 228556] igb link status is not updating properly when configured as VF driver in guest OS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu May 31 06:44:28 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228556
--- Comment #4 from Gokul <gokuljnpr at gmail.com> ---
Additional Info:
If we make link down from host via command > 'ip link set down ethX' , guest
will get reset indication and link status will update as 'DOWN' .
But if actual physical link is down then it will not update properly
For eg:
1) When physical link is up , VF will show as link 'UP'
root@/# ip link show eth2
6: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode
DEFAULT qlen 1000
link/ether 00:a0:c9:00:00:01 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 02:01:01:00:00:05, spoof checking on
root@/#
2) When physical link is down , in this case , vf link status will be link 'UP'
as per current source code.
root@/# ip link show eth2
6: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode
DEFAULT qlen 1000
link/ether 00:a0:c9:00:00:01 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 02:01:01:00:00:05, spoof checking on
root@/#
3) make link down using software , in this case VF will get reset indication
and link status will be updated as 'DOWN'
root@/# ip link set down eth2
root@/# ip link show eth2
6: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen
1000
link/ether 00:a0:c9:00:00:01 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 02:01:01:00:00:05, spoof checking on
root@/#
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list