hns_mac_set_pauseparam(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 return 0 - success , negative --fail
⚠️ okay real talk: the return-value info is literally tacked onto the end of the tx_en line in the original. <hotpink>return 0 - 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 🌈

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 under hns_mac_set_pauseparam(9) β€” periodt, go configure some pause parameters bestie πŸ’–
πŸ“¦ where this page comes from