Re: [PATCH 3/8] rust: pci: add {enable,disable}_sriov(), to control SR-IOV capability

Jason Gunthorpe
2026-01-06T01:22:38Z

On Tue, Dec 23, 2025 at 02:17:12PM -0500, Peter Colberg wrote:
> Further, enable_sriov() is prevented during remove() using a new
> flag inhibit_enable in the pci_sriov structure that is set before
> and cleared after the PF driver is unbound from the device.

Doesn't this need something concurrent safe like a revocable?

Jason