adf_send_pf2vf_msg(9)
π adf_send_pf2vf_msg β bestie's guide to the kernel API manual, bestie
okay so picture this: it's a whole kernel API manual page, the title is adf_send_pf2vf_msg(9), and the vibe is "the PF has something to say and the VF is gonna hear it." main character energy fr fr π«Ά
β¨ NAME β¨
adf_send_pf2vf_msg β send PF to VF message π
πΈ SYNOPSIS πΈ
int adf_send_pf2vf_msg (struct adf_accel_dev *accel_dev , u8 vf_nr ,
struct pfvf_message msg );
bestie look at that signature. three things go in, one int comes out. that's it, that's the whole function π
π¦ ARGUMENTS π¦
accel_devβ pointer to the acceleration device, aka the whole reason we're here. hand it over and we're cookin' π₯vf_nrβ the VF number, like which VF is getting the message. au8, so keep it cute and small β¨msgβ the message itself, astruct pfvf_message. the actual β¨contentβ¨ being delivered π
π DESCRIPTION π
so here's the tea: this function lets the PF send a message to a specific VF. that's the whole thing. no cap. one PF, one chosen VF, one message sliding into its inbox ππ
it's giving "passing notes in class but make it kernel." iconic behavior honestly π
π RETURN π
0on success π (slay)- an error code otherwise π (not slay, but at least you know)
π SEE ALSO π
- Kernel file
./drivers/crypto/intel/qat/qat_common/adf_pfvf_pf_proto.cβ go read it, iykyk π adf_recv_vf2pf_msg(9)β the other direction bestie, the reply arc π«Άadf_enable_pf2vf_comms(9)β you kinda need comms enabled first, just saying β¨
π§ reminder: 0 is the good ending. anything else means the message did not land, and no amount of manifesting will change your return value π
okay that's the page!! mwah π source/version is that cheeky ./drivers/crypto/intel/qat/qat... path and the date on the calendar is October 2026 β put it in your planner, bestie, and stay iconic out there ππ
π¦ 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