adf_send_vf2pf_blkmsg_req(9)
π adf_send_vf2pf_blkmsg_req β the Kernel API Manual moment π
okay bestie so this is the man page for adf_send_vf2pf_blkmsg_req(9), and it is literally the "retrieve block message" girlie of the QAT world. she's giving VF-to-PF communication main character energy, and honestly? ate. β¨
πΈ NAME πΈ
adf_send_vf2pf_blkmsg_req β retrieve block message π
π¦ SYNOPSIS π¦
int adf_send_vf2pf_blkmsg_req (struct adf_accel_dev *accel_dev , u8 type
, u8 *buffer , unsigned int *buffer_len );
like, yes, that's the whole signature. no cap, she takes four args and gives you back an int. π
β¨ ARGUMENTS β¨
accel_devβ pointer to the acceleration VF device π«Ά this is your little device bestie, the VF one specifically.typeβ the block message type. for the allowed values you gotta go look atadf_pfvf_msg.hβ that's where the lore lives, iykyk π₯bufferβ input buffer where to place the received data π§Ί like, this is the basket the data goes in.buffer_lenβ buffer length as input, and the amount of written bytes on output. so she reads it going in and then rewrites it coming out β dual-purpose queen π
π DESCRIPTION π
so basically you're requesting a message of type type over the block message transport. iconic honestly.
this function will send the required amount block message requests and return the overall content back to the caller through the provided buffer. the way that it justβ¦ gathers everything and hands it to you π
β οΈ okay important bestie: the buffer should be large enough to contain the requested message type, otherwise the response will be truncated. so do NOT skimp on the buffer. give her room to breathe or you're gonna get a chopped response and that is not the vibe π
π RETURN π
0 on success, error code otherwise. that's it, that's the whole mood. success is a zero, anything else is the universe telling you something went sideways π
β SEE ALSO β
- Kernel file
./drivers/crypto/intel/qat/qat_common/adf_pfvf_vf_proto.c adf_send_vf2pf_msg(9)adf_recv_pf2vf_msg(9)adf_send_vf2pf_req(9)adf_enable_vf2pf_comms(9)
go read those too, they're all in the same friend group fr fr π¦
and that's the page, bestie! this lil cutie comes to you from ./drivers/crypto/intel/qat/qat... and she was dated October 2026 β a true future icon, we stan πβ¨π
π¦ 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