adf_send_vf2pf_blkmsg_req(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 at adf_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 ⭐

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