adf_devmgr_add_dev(9)
π adf_devmgr_add_dev(9) β from the Kernel API Manual, bestie β¨
okay so this one lives in the Kernel API Manual (9 = kernel land, iykyk) and honestly? it's a whole vibe. it's short, it's sweet, it's giving "tiny function, big responsibilities" π
πΈ NAME πΈ
adf_devmgr_add_dev β literally just Add accel_dev to the acceleration framework. that's the whole mission, no cap π
β¨ SYNOPSIS β¨
int adf_devmgr_add_dev (struct adf_accel_dev *accel_dev , struct
adf_accel_dev *pf );
like, two args, returns an int, doesn't get simpler than that π«Ά
π¦ ARGUMENTS π¦
accel_devβ Pointer to acceleration device. this is THE device, the main character πpfβ Corresponding PF if theaccel_devis a VF. that's the "if" doing heavy lifting, so don't sleep on it π
π DESCRIPTION π
Function adds acceleration device to the acceleration framework. To be used by QAT device specific drivers. fr fr, it's for the QAT crowd β if that's not you, this isn't your party π
β RETURN β
0 on success, error code otherwise. so like, zero is the slay, anything else means something went sideways π
π§ SEE ALSO π§
Kernel file ./drivers/crypto/intel/qat/qat_common/adf_dev_mgr.c β go read the source, it ate π
the whole friend group:
adf_clean_vf_map(9)adf_devmgr_update_class_index(9)adf_devmgr_rm_dev(9)adf_devmgr_pci_to_accel_dev(9)adf_dev_in_use(9)adf_dev_get(9)adf_dev_put(9)adf_devmgr_in_reset(9)adf_dev_started(9)
ngl this page is mostly "add the thing, return 0, bye" β but every single arg, return value and reference is here, so we're iconic regardless π
okay bye, mwah π β sourced from ./drivers/crypto/intel/qat/qat..., dated October 2026, and the page itself is adf_devmgr_add_dev(9). see u in the next manpage bestie π₯β¨
π¦ 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