hns_rcb_set...esced_frames(9)
πΈ hns_rcb_set...esced_frames(9) β Kernel API Manual β¨
okay bestie, welcome to the <pink>Kernel API Manual</pink> π
today's main character is hns_rcb_set_tx_coalesced_frames(9), and no, the title didn't glitch β it's literally abbreviated like that in the header: hns_rcb_set...esced_frames(9). iykyk π
β¨ NAME β¨
hns_rcb_set_tx_coalesced_frames β set rcb coalesced frames π¦
π«Ά SYNOPSIS π«Ά
int hns_rcb_set_tx_coalesced_frames (struct rcb_common_cb *rcb_common ,
u32 port_idx , u32 coalesced_frames );
like, that's the whole signature, no cap. three args, one int coming back at you π
π ARGUMENTS π
rcb_commonβ thercb_commondevice, periodt. this is the big one, the main character of the struct world πport_idxβ the port id in comm π₯ that's your little index into the common thingcoalesced_framesβ the tx/rx BD num for coalesced frames π (yes, "BD num" β that's what the page says, we don't make the rules)
β RETURN β
zero for success, or an error code in case of failure π β so like, check it. 0 = slay, anything else = vibe check failed π
π§ SEE ALSO π§
the kernel file lives at ./drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c and honestly the whole friend group is here:
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_get_coalesce_usecs(9)hns_rcb_set_coalesce_usecs(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)
like, twenty-one besties. ate. π
ngl, read the whole set: this one only handles<hotpink>tx</hotpink>coalesced frames β its siblinghns_rcb_set_rx_coalesced_frames(9)is right there in the list for the rx side π
and that's the page, bestie! π source/version on the footer says ./drivers/net/ethernet/hisilic... (yep, truncated exactly like that, we don't fix it π) dated <cyan>October 2026</cyan> β so like, from the future fr fr. bye, ily, go check your error codes π«Άβ¨
π¦ 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