Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1672913

Re: [PATCH net-next,2/2] hv_netvsc: Fix the carrier state error when data path is off

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next,2/2] hv_netvsc: Fix the carrier state error when data path is off
Date 2017-06-22 19:40 +0200
Message-ID <tVefg-7PJ-27@gated-at.bofh.it> (permalink)
References <tUXxM-4Ng-17@gated-at.bofh.it> <tUXxM-4Ng-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Haiyang Zhang <haiyangz@exchange.microsoft.com>
Date: Wed, 21 Jun 2017 16:40:47 -0700

> From: Haiyang Zhang <haiyangz@microsoft.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@microsoft.com>
> Reviewed-by: Stephen Hemminger <sthemmin@microsoft.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net-next,2/2] hv_netvsc: Fix the carrier state error when data path is off Haiyang Zhang <haiyangz@exchange.microsoft.com> - 2017-06-22 01:50 +0200
  Re: [PATCH net-next,2/2] hv_netvsc: Fix the carrier state error  when data path is off David Miller <davem@davemloft.net> - 2017-06-22 19:40 +0200

csiph-web