qat_init.sh(8)

πŸ“¦
version 26.08.0 Β· 2 versions
, in centos-stream 10, centos-stream 9, fedora 44

qat_init.sh πŸ’–

okay bestie, so this is the manual page for qat_init.sh, section 8 of the manuals (that's the sysadmin/daemon-ish zone, iykyk). pull up a chair, we're gonna get your QAT devices ✨ready✨.


🌸 NAME 🌸

qat_init.sh β€” QAT resource initializer

also like. literally just qat_init.sh. that's the name. that's it. slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

qat_init.sh

no args, no flags, no drama. she just runs. πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

qat_init.sh initializes the IntelΒ© Quick Assist Technology (IntelΒ© QAT) devices, getting them all set up and pretty for use by the user space library, a.k.a. qatlib. it's giving backstage prep before the main character goes on stage. πŸ’–

so when you run this on a host system where the physical function (PF) QAT devices are visible and already bound to the QAT device driver, the qat_init.sh script will enable sriov on each of the PF devices. and enabling sriov on those PFs is what unlocks the virtual function (VF) devices. they're born. iconic. 🌈

then, for each of the QAT VF devices, qat_init.sh binds the device to the vfio-pci device driver, which makes it available for applications that use the qatlib user space library. no cap, that's the whole glow-up. πŸ”₯


✨ ENVIRONMENT VARIABLES ✨

  • LKCF_LIST β€” if this one's set, it gives you a list of VF devices that should be used for accelerating operations from the Linux crypto framework instead of being available for user space applications. so like, pick a lane, bestie β€” crypto framework or user space apps. 🫢

example:

LKCF_LIST="0000:3d:01.0 0000:3f:01.0 0000:da:01.0"

πŸ’œ SEE ALSO πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Conor McLoughlin <conor.mcloughlin@intel.com>


ngl this page is short and sweet and honestly? ate. go enable those VFs. 🧚

and that's the whole thing, bestie β€” this page lives in the qat_init.sh manual, section 8, dated 30 Oct 2019. mwah. πŸ’–βœ¨

πŸ“¦ where this page comes from