Page MenuHomeFreeBSD

pci_iov: When pci_iov_detach(9) is called, destroy VF children
ClosedPublic

Authored by kib on Dec 15 2020, 1:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 1, 6:37 AM
Unknown Object (File)
Mon, Jul 1, 6:29 AM
Unknown Object (File)
Mon, Jul 1, 2:26 AM
Unknown Object (File)
Mon, Jun 24, 12:35 PM
Unknown Object (File)
Wed, Jun 12, 10:07 PM
Unknown Object (File)
Apr 29 2024, 9:18 PM
Unknown Object (File)
Apr 29 2024, 8:11 PM
Unknown Object (File)
Apr 12 2024, 3:23 AM

Details

Summary

instead of bailing out with EBUSY if there are any.

If driver module is unloaded, or just device is forcibly detached from the driver, there is no way for driver to correctly unload otherwise. Esp. if there are resources dedicated to the VFs which prevent turning down other resources.

Sponsored by: Mellanox Technologies / NVidia Networking

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Dec 15 2020, 1:57 AM
jhb added inline comments.
sys/dev/pci/pci_iov.c
98 ↗(On Diff #80708)

I would call it "children" rather than "childs".

This revision is now accepted and ready to land.Dec 17 2020, 5:16 PM
kib marked an inline comment as done.

s/childs/children/g

This revision now requires review to proceed.Dec 17 2020, 7:05 PM
This revision is now accepted and ready to land.Dec 17 2020, 7:07 PM