diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2018-03-04 22:17:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-06 09:57:16 -0800 |
commit | 4ba6341286f20d3b300a8f159aa2a61eca0f4b17 (patch) | |
tree | f7e7dcf98e61e81b38c1a164492819d4c38abd98 /net/rose/rose_link.c | |
parent | 661e50bc853209e41a5c14a290ca4decc43cbfd1 (diff) | |
download | linux-4ba6341286f20d3b300a8f159aa2a61eca0f4b17.tar.bz2 |
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 'net/rose/rose_link.c')
0 files changed, 0 insertions, 0 deletions