adf_gen2_dev_config(9)
π adf_gen2_dev_config(9) β a Kernel API Manual moment β¨
okay bestie, so this is a page from the Kernel API Manual (yes, section 9, we're in kernel-land now π§) and it's about adf_gen2_dev_config β aka the function that builds the device config you literally cannot create instances without. no cap. π«Ά
πΈ NAME πΈ
adf_gen2_dev_config β create the dev config required to create instances π
like, that's the whole job. it makes the dev config. the dev config is required. instances need it. iykyk π
β¨ SYNOPSIS β¨
int adf_gen2_dev_config (struct adf_accel_dev *accel_dev );
that's the signature, character for character, don't come for me about the spacing because i copied it exactly π
π¦ ARGUMENTS π¦
accel_devβ Pointer to acceleration device. that's it, that's the whole list. she's a one-argument icon π
π DESCRIPTION π
Function creates device configuration required to create instances. periodt.
lowkey the most self-explanatory function on the block β you hand her a pointer to the acceleration device and she goes and makes the device configuration, and that configuration is, and i cannot stress this enough, required to create instances. no config, no instances. that's the vibe check. π
β RETURN β
0on success π₯³- error code otherwise π
that's it. zero means slay, anything else means something went sideways and you get an error code handed back to you. fr fr.
π SEE ALSO π
Kernel file ./drivers/crypto/intel/qat/qat_common/adf_gen2_config.c β that's where she lives, go read the source bestie, it's giving main character energy π₯
okay bestie, this is literally just the kernel API manual page adf_gen2_dev_config(9) β nothing more, nothing less, i didn't invent a single extra flag because there aren't any π
thanks for reading, mwah π β sourced from ./drivers/crypto/intel/qat/qat..., dated October 2026, and yeah the manpage footer said adf_gen2_dev_config(9) too, iconic consistency β¨π
π¦ 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