hfi1_set_fast(9)
π hfi1_set_fast(9) β Kernel API Manual, bestie edition β¨
Okay so real talk, this one's a tiny little kernel function from the hfi1 driver, and it lives its whole life doing one iconic thing: flipping your receive context over to the fast handler. That's it. That's the whole vibe. Lowkey obsessed with the efficiency. π¦
β¨ NAME β¨
hfi1_set_fast β the glow-up moment where you switch to the fast handler. slay. π
πΈ SYNOPSIS πΈ
void hfi1_set_fast (struct hfi1_ctxtdata *rcd );
Yup, that's the whole signature. Returns nothing (void), takes one pointer. Short king. π
π ARGUMENTS π
rcdβ the receive context π (it's astruct hfi1_ctxtdata *, and it's the thing getting the fast-path treatment, periodt)
π¦ SEE ALSO π¦
okay so this is the friend group, and they're all in the kernel file ./drivers/infiniband/hw/hfi1/hfi.h β go say hi to all of them, no cap:
rcvhdrq_size(9)hfi1_get_rc_ohdr(9)hfi1_rcd_head(9)hfi1_set_rcd_head(9)hfi1_seq_incr_wrap(9)hfi1_seq_cnt(9)hfi1_set_seq_cnt(9)last_rcv_seq(9)get_hdrqentsize(9)get_hdrq_cnt(9)hfi1_is_slowpath(9)hfi1_is_fastpath(9)sc_to_vlt(9)hfi1_may_ecn(9)hfi1_rcvhdrtail_kvaddr(9)hfi1_need_drop(9)
ngl bestie, if you're reading the kernel docs for a receive-context fast-path flip, you're already the main character of your own networking stack ππ
That's the whole page, fr fr β brought to you by ./drivers/infiniband/hw/hfi1, dated October 2026, and filed under hfi1_set_fast(9) πβ¨ mwah, bye bestie π«Ά
π¦ 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