RE: [EXTERNAL] [PATCH 1/4] net/netvsc: scan all net devices under the PCI device

2025-02-07 Thread Long Li
> Subject: [EXTERNAL] [PATCH 1/4] net/netvsc: scan all net devices under the PCI > device > > From: Long Li > > The current code has the wrong assumption that a PCI device can have only one > Ethernet device. This is not correct as a PCI device can be multi functional

[PATCH 1/4] net/netvsc: scan all net devices under the PCI device

2025-01-27 Thread longli
From: Long Li The current code has the wrong assumption that a PCI device can have only one Ethernet device. This is not correct as a PCI device can be multi functional and have multiple Ethernet devices. Fix this by scanning all the devices under a PCI device. Fixes: a2a23a794b3a ("net/netvsc: