diff options
author | Haiyang Zhang <[email protected]> | 2018-10-15 19:06:15 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-10-15 22:58:11 -0700 |
commit | 005479556197f80139771960dda0dfdcd2d2aad5 (patch) | |
tree | 40cd822e5ac3a70bc6125258985ccc312fd9bb91 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | b13949678b0abd374214dfd1472b4087a0898562 (diff) |
hv_netvsc: fix vf serial matching with pci slot info
The VF device's serial number is saved as a string in PCI slot's
kobj name, not the slot->number. This patch corrects the netvsc
driver, so the VF device can be successfully paired with synthetic
NIC.
Fixes: 00d7ddba1143 ("hv_netvsc: pair VF based on serial number")
Reported-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Haiyang Zhang <[email protected]>
Reviewed-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions