[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170622.133056.934912791314345535.davem@davemloft.net>
Date: Thu, 22 Jun 2017 13:30:56 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: haiyangz@...rosoft.com, haiyangz@...hange.microsoft.com
Cc: netdev@...r.kernel.org, kys@...rosoft.com, olaf@...fle.de,
vkuznets@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next,2/2] hv_netvsc: Fix the carrier state error
when data path is off
From: Haiyang Zhang <haiyangz@...hange.microsoft.com>
Date: Wed, 21 Jun 2017 16:40:47 -0700
> From: Haiyang Zhang <haiyangz@...rosoft.com>
>
> When the VF NIC is opened, the synthetic NIC's carrier state is set to
> off. This tells the host to transitions data path to the VF device. But
> if startup script or user manipulates the admin state of the netvsc
> device directly for example:
> # ifconfig eth0 down
> # ifconfig eth0 up
> Then the carrier state of the synthetic NIC would be on, even though the
> data path was still over the VF NIC. This patch sets the carrier state
> of synthetic NIC with consideration of the related VF state.
>
> Signed-off-by: Haiyang Zhang <haiyangz@...rosoft.com>
> Reviewed-by: Stephen Hemminger <sthemmin@...rosoft.com>
Applied.
Powered by blists - more mailing lists