hns_mac_set_pauseparam(9)
π
hns_mac_set_pauseparam(9) β the whole vibe
Okay so bestie, welcome to the Kernel API Manual β¨ this one's about a little function called hns_mac_set_pauseparam and honestly she's giving "small but important" energy. Let's get into it π«Ά
β¨ NAME β¨
hns_mac_set_pauseparam β set rx & tx pause parameter π
πΈ SYNOPSIS πΈ
int hns_mac_set_pauseparam (struct hns_mac_cb *mac_cb , u32 rx_en , u32
tx_en );
Look at her, all typed out and official π no cap, that signature is exactly what you get.
π¦ ARGUMENTS π¦
mac_cbβ the mac control block π§ this is the main character struct, everything hangs off her.rx_enβ rx enable or not. that's the whole description fr fr, she's a yes/no girlie.tx_enβ tx enable or not return0- success , negative--fail
β οΈ okay real talk: the return-value info is literally tacked onto the end of thetx_enline in the original.<hotpink>return0- success , negative--failβ that's the deal, and yes--fail` is written exactly like that, double dash and all π don't come for me, I'm just the messenger π
So to recap the arc of this function: it takes the mac control block plus an rx toggle and a tx toggle, and it comes back with 0 for success or a negative --fail if it didn't slay π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.cβ this is where she lives, go say hi π hns_mac_need_adjust_link(9)hns_mac_get_inner_port_num(9)hns_mac_change_vf_addr(9)hns_mac_port_config_bc_en(9)hns_mac_vm_config_bc_en(9)hns_mac_get_autoneg(9)hns_mac_get_pauseparam(9)hns_mac_set_autoneg(9)hns_mac_init_ex(9)hns_mac_get_info(9)hns_mac_get_mode(9)hns_mac_get_cfg(9)hns_mac_init(9)
Like, the entire hns friend group is linked here β get you a function with a support system like this π note that hns_mac_get_pauseparam(9) is her sibling, the getter to this setter, iykyk π
And that's the page!! π
π cute little sign-off: this was brought to you by<mint>./drivers/net/ethernet/hisilic...</mint>and dated<yellow>October 2026</yellow>, filed underhns_mac_set_pauseparam(9)β periodt, go configure some pause parameters 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