dfl_fpga_cd...fig_ports_vf(9)
β¨ dfl_fpga_cd...fig_ports_vf β Kernel API Manual β¨
okay so bestie, we're in the <pink>dfl_fpga_cd...fig_ports_vf(9)page of the Kernel API Manual (yes that's the real truncated title, the header literally saysdfl_fpga_cd...fig_ports_vf(9)` and I refuse to gaslight you about it) π
πΈ NAME πΈ
dfl_fpga_cdev_config_ports_vf β configure ports to VF access mode π¦
π SYNOPSIS π
int dfl_fpga_cdev_config_ports_vf (struct dfl_fpga_cdev *cdev , int
num_vfs );
like, that's the whole vibe. two args, one int coming back at you π«Ά
π ARGUMENTS π
cdevβ the parent container device, aka the main character πnum_vfsβ the VF device number, fr fr it's just a number π’
π DESCRIPTION π
okay so here's the tea β β this function is needed in the sriov configuration routine. like, it's not optional, it's part of the routine, periodt.
what it does: it can be used to configure the released ports from PF access mode over to VF. that's it, that's the whole job β¨
ngl the original says "configure the released ports from PF access mode to VF" β so if you're looking for the PF side of things, this is not that function, bestie π
β RETURN β
0on success π- a negative error code otherwise π
π§ SEE ALSO π§
bestie I need you to know this list is iconic and also long, so buckle up π
the kernel file ./drivers/fpga/dfl.c, plus:
struct dfl_dev_info(9)struct dfl_chardev_info(9)dfl_fpga_port_ops_get(9)dfl_fpga_port_ops_put(9)dfl_fpga_port_ops_add(9)dfl_fpga_port_ops_del(9)dfl_fpga_check_port_id(9)dfl_fpga_dev_feature_uinit(9)dfl_fpga_dev_feature_init(9)dfl_fpga_dev_ops_register(9)dfl_fpga_dev_ops_unregister(9)struct build_feature_devs_info(9)struct dfl_feature_info(9)dfh_find_param(9)parse_feature(9)dfl_fpga_enum_info_add_dfl(9)dfl_fpga_enum_info_add_irq(9)dfl_fpga_feature_devs_enumerate(9)dfl_fpga_feature_devs_remove(9)__dfl_fpga_cdev_find_port_data(9)dfl_fpga_cdev_release_port(9)dfl_fpga_cdev_assign_port(9)dfl_fpga_cdev_config_ports_pf(9)dfl_fpga_set_irq_triggers(9)dfl_feature_ioctl_get_num_irqs(9)dfl_feature_ioctl_set_irq(9)
and that's the page!! mwah π
this lil masterpiece lives at ./drivers/fpga and the date on it is October 2026 β so yeah, future vibes only βπΈ go read the source, ily, bye π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms