hns_mac_get_pauseparam(9)
π hns_mac_get_pauseparam(9) β like, the Kernel API Manual page, bestie π
okay so real talk, we're deep in the Kernel API Manual today and the star of the show is hns_mac_get_pauseparam. Yes the whole manpage is named after it. Main character energy fr fr. β¨
πΈ NAME πΈ
hns_mac_get_pauseparam β set rx & tx pause parameter
yes bestie that's literally what the NAME line says, "set" and everything, and I'm not gonna gaslight you by pretending otherwise. We report, we don't editorialize. π
π¦ SYNOPSIS π¦
void hns_mac_get_pauseparam (struct hns_mac_cb *mac_cb , u32 *rx_en ,
u32 *tx_en );
it's a void function, so likeβ¦ it returns nothing, it just does the thing and fills in your pointers. Very "I don't start drama, I just deliver results" of it. π
π ARGUMENTS π
mac_cbβ the mac control block π the whole main character struct, the one that holds the vibe togetherrx_enβ rx enable status πΈ you pass in au32 *and it comes back holding the rx enable statustx_enβ tx enable status π and it also says return 0 - success , negative --fail β so like,0means slay, anything negative means π nope
β SEE ALSO β
the kernel file this lives in, in all its glory:
./drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
and the whole friend group, no one left out, we love a full squad π«Ά:
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_set_autoneg(9)hns_mac_set_pauseparam(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)
ngl the source path at the bottom of the page is literally cut off mid-word β ./drivers/net/ethernet/hisilic... β so that's just how it is, we don't fix, we don't guess, we respect the truncation π
and that's the page!! sign-off time: this little gem is dated October 2026, lives under that ./drivers/net/ethernet/hisilic... source line, and the manual itself is hns_mac_get_pauseparam(9) β periodt. go read your kernel source bestie, ily, drink water ππ§ββοΈπ
π¦ 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