summaryrefslogtreecommitdiff
path: root/drivers/hv/hv.c
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2018-03-05 08:17:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-06 20:57:16 +0300
commit4ba6341286f20d3b300a8f159aa2a61eca0f4b17 (patch)
treef7e7dcf98e61e81b38c1a164492819d4c38abd98 /drivers/hv/hv.c
parent661e50bc853209e41a5c14a290ca4decc43cbfd1 (diff)
downloadlinux-4ba6341286f20d3b300a8f159aa2a61eca0f4b17.tar.xz
tools/hv: Fix IP reporting by KVP daemon with SRIOV
On Hyper-V the VF NIC has the same MAC as the related synthetic NIC. VF NIC can work under the synthetic NIC transparently, without its own IP address. The existing KVP daemon only gets IP from the first NIC matching a MAC address, and may not be able to find the IP in this case. This patch fixes the problem by searching the NIC matching the MAC, and having an IP address. So, the IP address will be found and reported to the host successfully. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv.c')
0 files changed, 0 insertions, 0 deletions