Re: [PATCH net-next, v3] hv_netvsc: fix vf serial matching with pci slot info

From: Stephen Hemminger
Date: Mon Oct 15 2018 - 15:56:31 EST


On Mon, 15 Oct 2018 19:06:15 +0000
Haiyang Zhang <haiyangz@xxxxxxxxxxxxxxxxx> wrote:

> From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
>
> 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 <vkuznets@xxxxxxxxxx>
> Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>

Reviewed-by: Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>