mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add zpci_is_vf() helper based on the /sys/bus/pci/devices/<dev>/vfn attribute which is non-zero for VFs unlike the common code VF number which starts at 0. Reviewed-by: Halil Pasic <pasic@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>