__bnxt_qplib...send_message(9)
π __bnxt_qplib...send_message(9) β a Kernel API Manual moment π
okay so bestie, you found the page for __bnxt_qplib_rcfw_send_message and honestly? it's giving "small function, big job." it's your girl's guide to the qplib interface for sending and completing an rcfw command. let's get into it β¨
πΈ NAME πΈ
__bnxt_qplib_rcfw_send_message β the qplib interface that exists to send an rcfw command and complete it. both. she does both. multitasking icon π
π¦ SYNOPSIS π¦
int __bnxt_qplib_rcfw_send_message (struct bnxt_qplib_rcfw *rcfw ,
struct bnxt_qplib_cmdqmsg *msg );
literally the whole signature, copied with love. you're welcome, no cap π«Ά
β¨ ARGUMENTS β¨
rcfwβ the rcfw channel instance of rdev. that's the vibe, that's the context, that's who you're talking to πmsgβ the qplib message, internal. she's an internal girlie, we don't question her π
π DESCRIPTION π
so here's the tea, and it's kind of a big deal: this function does not account for shadow queue depth. read that again. it does not account shadow queue depth. π
what that means in practice is she will send all the commands unconditionally, as long as the send queue is not full. no extra little vibe check on the shadow depth, no second-guessing β if there's room in the queue, it's going out. periodt. π₯
bestie, note this carefully because it's the whole personality of this function β the only thing standing between msg and the firmware is the send queue not being full. that's the only gate. π
π RETURN π
0β the command was completed by firmware. slay, we love a clean finish πβ¨- Non zero β the command was not completed by firmware. not slay, but informative π
π§ SEE ALSO π§
- the kernel file
./drivers/infiniband/hw/bnxt_re/qplib_rcfw.cβ go read the source, iykyk π bnxt_qplib_map_rc(9)bnxt_re_is_fw_stalled(9)__wait_for_resp(9)__block_for_resp(9)__poll_for_resp(9)bnxt_qplib_rcfw_send_message(9)β yes, the non-dunder version, her cousin π
aaaand that's the page!! π¦ this little gem lives over at ./drivers/infiniband/hw/bnxt_re and the manual's dated October 2026 β so go forth, send your rcfw commands, mind that send queue, and remember: no shadow-queue accounting, no problem (as long as the queue isn't full, bestie ππ). mwah! π
π¦ 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