QAT_C2XXX(4)
π QAT_C2XXX β the Intel QuickAssist driver for Atom C2000 chipsets, bestie edition π
okay so this page is from the Kernel Interfaces Manual section, and it's literally all about qat_c2xxx β the Intel QuickAssist Technology (QAT) driver for Atom C2000 chipsets. it's giving "niche but iconic" ngl πΈ
β¨ SYNOPSIS β¨
so if you wanna compile this driver into the kernel (main character move, no module loading shenanigans), you drop these lines into your kernel configuration file:
device crypto
device cryptodev
device qat
or β and this is lowkey the easier vibe β you can load it as a module at boot time by putting these lines in loader.conf(5):
qat_c2xxx_load="YES"
qat_c2xxxfw_load="YES"
that's it. two lines. slay π
π¦ DESCRIPTION π¦
the qat_c2xxx driver implements crypto(4) support for some of the cryptographic acceleration functions of the Intel QuickAssist (QAT) device found on Atom C2000 devices. not all of them. some. we're being honest here π
QAT devices are enumerated through PCIe, which means you can literally see them in pciconf(8) output β go look, they're there, iconic π
and here's what this driver can actually do β it can accelerate AES in CBC, CTR, and GCM modes, and can perform authenticated encryption combining the CBC and CTR modes with SHA1-HMAC and SHA2-HMAC. it can also compute SHA1 and SHA2 digests. ate and left no crumbs π₯
β οΈ but bestie, listen β the AES-GCM implementation has a firmware-imposed constraint: the length of any additional authenticated data (AAD) must not exceed 240 bytes. the driver thus rejects crypto(9) requests that don't satisfy this constraint. so keep your AAD short or it's not happening, fr fr π
π SEE ALSO π
the whole friend group:
iykyk go read them π«Ά
β HISTORY β
the qat_c2xxx driver first appeared in FreeBSD 13.0. a whole era π
π AUTHORS π
- the
qat_c2xxxdriver was written for NetBSD by Hikaru Abe<hikaru@iij.ad.jp> - Mark Johnston
<markj@FreeBSD.org>ported the driver to FreeBSD
two legends, one driver, we love to see it π«Άβ¨
π BUGS π
okay so this is the part where we're real with each other. some Atom C2000 QAT devices have two acceleration engines instead of one. the qat_c2xxx driver currently misbehaves when both are enabled β and thus does not enable the second acceleration engine if one is present. so likeβ¦ one engine it is. not me pretending that's fine π it's a known thing, not a vibe, just a fact.
and that's the whole page, bestie β go forth and accelerate your crypto π
sign-off szn: this gem was rendered by Debian, dated July 21, 2022, and it's a page from the Kernel Interfaces Manual. mwah, catch you on the next manpage ππ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2020 Rubicon Communications, LLC (Netgate)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms