From owner-freebsd-bugs@freebsd.org Thu May 31 06:44:28 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0453F7E57F for ; Thu, 31 May 2018 06:44:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 739A5734E0 for ; Thu, 31 May 2018 06:44:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3487BF7E57A; Thu, 31 May 2018 06:44:27 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20BD5F7E578 for ; Thu, 31 May 2018 06:44:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB55C734DC for ; Thu, 31 May 2018 06:44:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DD6751F7EA for ; Thu, 31 May 2018 06:44:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4V6iPxt072382 for ; Thu, 31 May 2018 06:44:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4V6iP3R072381 for bugs@FreeBSD.org; Thu, 31 May 2018 06:44:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Thu, 31 May 2018 06:44:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gokuljnpr@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 06:44:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228556 --- Comment #4 from Gokul --- 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: 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: 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: 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.=