Date: Thu, 31 May 2018 06:44:26 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228556] igb link status is not updating properly when configured as VF driver in guest OS Message-ID: <bug-228556-227-6bvIKiiCgK@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-228556-227@https.bugs.freebsd.org/bugzilla/> References: <bug-228556-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228556 --- Comment #4 from Gokul <gokuljnpr@gmail.com> --- Additional Info:=20 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=20 For eg:=20 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@/#=20 2) When physical link is down , in this case , vf link status will be link = 'UP' as per current source code.=20 root@/# ip link show eth2 6: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN m= ode 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=20 root@/#=20 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 ql= en 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@/# --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228556-227-6bvIKiiCgK>