aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHaiyang Zhang <[email protected]>2018-03-04 22:17:11 -0700
committerGreg Kroah-Hartman <[email protected]>2018-03-06 09:57:16 -0800
commit4ba6341286f20d3b300a8f159aa2a61eca0f4b17 (patch)
treef7e7dcf98e61e81b38c1a164492819d4c38abd98 /tools/perf/scripts/python
parent661e50bc853209e41a5c14a290ca4decc43cbfd1 (diff)
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 <[email protected]> Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions