sec_queue_send(9)
π sec_queue_send β from the Kernel API Manual, bestie β¨
Okay so we're doing a whole kernel API thing today and honestly? It's giving "one job, do it well." This is sec_queue_send(9), straight out of the Kernel API Manual, and she's the designated driver who drops exactly one operation off at the hw queue. π
πΈ NAME πΈ
sec_queue_send β queue up a single operation in the hw queue π¦
Not two. Not a batch. One. She's focused, she's efficient, she's not doing extra credit. π
β¨ SYNOPSIS β¨
int sec_queue_send (struct sec_queue *queue , struct sec_bd_info *msg ,
void *ctx );
π«Ά ARGUMENTS π«Ά
queueβ The queue in which to put the message. That's her destination, her venue, her whole moment. πmsgβ The message. The main character of this entire function call, no cap. πctxβ Context to be put in the shadow array and passed back to cb on result. Like, the function takes your little note, tucks it safely into the shadow array, and later hands it right back tocbwhen the result rolls in. So thoughtful of her, we love a callback that remembers. ππ«Ά
π₯ DESCRIPTION π₯
So here's the tea: this function will return -EAGAIN if the queue is currently full. π That's it, that's the whole vibe. Queue's full β you get -EAGAIN β you go try again like a polite little retry loop. Don't be weird about it. π
π SEE ALSO π
Kernel file ./drivers/crypto/hisilicon/sec/sec_drv.c β go read the source, iykyk π
And that's the whole page, bestie! π¦ This iconic little doc lives over in ./drivers/crypto/hisilicon/sec, dated October 2026, and it's filed under sec_queue_send(9) β literally couldn't be more organized if she tried. πβ¨
π¦ 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