IOVCTL(8)
β¨ IOVCTL(8) β¨
okay so bestie, gather round, because this one is about iovctl β the PCI SR-IOV configuration utility from section 8 of the System Manager's Manual, and honestly? it's giving "I make virtual functions appear and disappear" and I'm obsessed π
π¦ SYNOPSIS π¦
iovctl -C -f config-file [-n]
iovctl -D [-f config-file | -d device] [-n]
iovctl -S [-f config-file | -d device]
literally just three little shapes and each one does a different thing, no cap β¨
π DESCRIPTION π
The iovctl utility creates or destroys PCI Single-Root I/O Virtualization (SR-IOV) Virtual Functions (VFs). Yes that's a lot of capital letters, but stay with me π«Ά
- when you invoke it with the
-Cflag,iovctlcreates VFs as children of the Physical Function (PF) configured in the specified configuration file - when you invoke it with the
-Dflag,iovctldestroys all VFs that are children of the specified device
Available PF devices can be seen in /dev/iov/ β like, go look, they're right there π
The following options are available:
πΈ OPTIONS πΈ
-Cβ Enable SR-IOV on the specified PF device and create VF children. This operation will fail if the PF already has VF children (rude, I know π). This option must be used in conjunction with the-foption.-ddevice β Specify the PF device to use for the given operation. device may either be the name of a PF device, or a full path name to a node in/dev/iov/. This option may not be used with the-Coption. pick a lane bestie π-Dβ Delete all VF children of the specified PF device. This operation will fail if SR-IOV is not currently enabled on the specified device. no VFs? nothing to delete, sorry babe π-fconfig-file β Specify the pathname of the configuration file. For the-Coption, this file will be used to specify all configuration values. For the-Dand-Soptions, this file will only be used to specify the name of the PF device. main character file energy, different job depending on who's asking β¨-nβ Perform a dry-run. Perform all validation of the specified action and print what would be done, but do not perform the actual creation or destruction of VFs. This option may not be used with the-Sflag. it's giving "manifesting but not committing" π-Sβ Read the configuration schema from the specified device and print its contents to stdout. This action may be used to discover the configuration parameters supported on a given PF device. lowkey the most useful one for snooping around π₯
π little side quest for-f: seeiovctl.conf(5)for a description of the config file format and documentation of the configuration parameters that apply to all PF drivers. See the PF driver manual page for configuration parameters specific to particular hardware. iykyk π
π SEE ALSO π
π AUTHORS π
This manual page was written by Ryan Stone <rstone@FreeBSD.org>. iconic of them, fr fr π«Ά
and that's the whole thing, bestie β stay slay, stay configured, and remember: dry-run first, delete never (unless you meant to) π
sign-off time π this little gem comes from the Debian build of the page, dated May 31, 2020, and it lives in section 8 (System Manager's Manual) as IOVCTL(8) β so cute, so official, so periodt β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2014 Sandvine Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms