Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update DiscoverSriovDevices to list only pfs with networking devices
Currently DiscoverSriovDevices creates a list of interfaces, by scanning /sys/devices/pci. Some of them might not have a networking devices. The interfaces without networking devices won't be available, but would still be reset, as they won't be part of the node policy. Updating DiscoverSriovDevices to list only networking devices, will support namespace isolation, as /sys/class/net entries are network-namespaced. Fixes: #2 Signed-off-by: Or Shoval <[email protected]>
- Loading branch information