Re: [PATCH v5 3/9] rust: pci: add is_virtfn(), to check for VFs
From: Alexandre Courbot
Date: Mon Nov 09 2026 - 06:54:51 EST
On Sat Oct 31, 2026 at 2:12 AM JST, Simon Song wrote:
> From: John Hubbard <jhubbard@xxxxxxxxxx>
>
> Add a method to check if a PCI device is a Virtual Function (VF) created
> through Single Root I/O Virtualization (SR-IOV).
>
> Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx>
> Reviewed-by: Alistair Popple <apopple@xxxxxxxxxx>
> Reviewed-by: Joel Fernandes <joelagnelf@xxxxxxxxxx>
> Signed-off-by: Peter Colberg <peter@xxxxxxxxxxx>
> Signed-off-by: Zhi Wang <zhiw@xxxxxxxxxx>
> Signed-off-by: Simon Song <xinmengs@xxxxxxxxxx>
Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>