set_64bit_val(9)
β¨ set_64bit_val(9) β the kernel API manual bestie edition β¨
okay so real talk, this is a page from the Kernel API Manual (yes, the actual kernel docs, we're fancy now π
) and it's all about one tiny little function that does exactly one job and does it slayfully. it's set_64bit_val, and no cap, it's giving "small but iconic" π
π NAME π
set_64bit_val β literally just sets a 64 bit value into a hw wqe. that's it. that's the whole vibe. β¨
π¦ SYNOPSIS π¦
void set_64bit_val (__le64 *wqe_words , u32 byte_index , u64 val );
look at her. three args, returns nothing, zero drama. πΈ
π ARGUMENTS π
wqe_wordsβ the wqe addr you're writing to, bestie. this is the spot. the destination. the main character location π«Άbyte_indexβ the index in the wqe, aka where inside the wqe you're dropping your value. pick your spot carefully πvalβ the actual value to write. the payload. the moment. theu64of it all π₯
π SEE ALSO π
fr fr, go read these too, they're the friend group and they all hang out together:
- Kernel file
./drivers/infiniband/hw/irdma/defs.hβ yes, the literal file, it's right there in the irdma driver π set_32bit_val(9)β the 32 bit sibling, half the bits, same energy πget_64bit_val(9)β the getter counterpart, 64 bit, obviously βget_32bit_val(9)β and the 32 bit getter to complete the set π§
ngl the whole squad is just set/get Γ 32/64 and honestly? we love a consistent family. ππ
so yeah, that's the whole page. hope you feel educated and also a little bit glamorous. mwah π
β cute little sign-off from the kernel file ./drivers/infiniband/hw/irdma, dated October 2026, brought to you by set_64bit_val(9) and the entire irdma hive πΈπ
β¨
π¦ 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