sw_w_sta_mac_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

sw_w_sta_mac_table β€” write to the static MAC table. Bestie, this is the sw_w_sta_mac_table(9) page from the Kernel API Manual, and it's literally all about writing an entry into the switch's static MAC table. ✨

✨ SYNOPSIS ✨

void sw_w_sta_mac_table (struct ksz_hw *hw , u16 addr , u8 *mac_addr ,
u8 ports , int override , int valid , int use_fid , u8 fid );

That's the whole signature, no cap β€” all the arguments are right below. 🫢

🫢 ARGUMENTS 🫢

  • hw β€” the hardware instance.
  • addr β€” the address of the table entry.
  • mac_addr β€” the MAC address.
  • ports β€” the port members.
  • override β€” the flag to override the port receive/transmit settings.
  • valid β€” the flag to indicate entry is valid.
  • use_fid β€” the flag to indicate the FID is valid.
  • fid β€” the FID value.

πŸ’… DESCRIPTION πŸ’…

So yeah, this routine writes an entry of the static MAC table of the switch. It calls sw_w_table_64 to write the data. That's the whole plot. πŸ’–

🌈 SEE ALSO 🌈

Okay the SEE ALSO list is huge and iconic β€” every single one is here, no skips:


That's a wrap, bestie! This page is from source/version ./drivers/net/ethernet/micrel, dated October 2026, and it's sw_w_sta_mac_table(9) signing off with main character energy. πŸ’…βœ¨πŸ«Ά
πŸ“¦ where this page comes from