hns_rcb_get_coalesce_usecs(9)
π hns_rcb_get_coalesce_usecs β bestie's guide to the Kernel API Manual β¨
Okay so picture this: you're deep in the Kernel API Manual (yes, that one π) and you stumble across this little icon of a function. It's giving "I just tell you the time_out, that's it, that's the whole job" and honestly? Obsessed. π¦
β¨ NAME β¨
hns_rcb_get_coalesce_usecs β get rcb port coalesced time_out πΈ
Like, it gets the coalesced time_out for an rcb port. That's the vibe check. That's the assignment. Periodt. π
π SYNOPSIS π
u32 hns_rcb_get_coalesce_usecs (struct rcb_common_cb *rcb_common , u32
port_idx );
Look at her go. Two arguments, returns a u32, zero drama. π
π«Ά ARGUMENTS π«Ά
rcb_commonβ the rcb_common device π like, the actual device we're poking at, bestieport_idxβ port id in comm β that's the port's little ID number inside the comm
π RETURN π
time_out π«
That's it. That's the return value. She gives you the time_out and she's done. No cap. π₯
π SEE ALSO π
Kernel file ./drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c β that's home base, the whole file this cutie lives in π
And now the whole friend group, fr fr, because the rcb squad rolls deep:
hns_rcb_wait_fbd_clean(9)hns_rcb_reset_ring_hw(9)hns_rcb_int_ctrl_hw(9)hns_rcb_ring_enable_hw(9)hns_rcb_common_init_commit_hw(9)hns_rcb_ring_init(9)hns_rcb_init_hw(9)hns_rcb_set_port_desc_cnt(9)hns_rcb_common_init_hw(9)hns_rcb_get_cfg(9)hns_rcb_get_rx_coalesced_frames(9)hns_rcb_get_tx_coalesced_frames(9)hns_rcb_set_coalesce_usecs(9)hns_rcb_set_tx_coalesced_frames(9)hns_rcb_set_rx_coalesced_frames(9)hns_rcb_get_queue_mode(9)hns_rcb_get_stats(9)hns_rcb_get_ring_sset_count(9)hns_rcb_get_common_regs_count(9)hns_rcb_get_ring_regs_count(9)hns_rcb_get_strings(9)
Notice how there's a set_coalesce_usecs in there? Yeah, she's the one who sets it β this page is the one who gets it. Complementary icons, honestly. πΈβ¨
Okay quick reminder bestie: if you're ever lost, just remember the whole family lives over in ./drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c. Iykyk. π
Sign-off time π this little love letter to the kernel comes from ./drivers/net/ethernet/hisilic... (yeah the source line gets cut off like that, not me, blame the page π) and it's dated October 2026. Don't ask me why future-dated, she's just ahead of her time. π¦π
π¦ 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