idpf_add_mac_filter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is idpf_add_mac_filter(9), and we’re in the Kernel API Manual ✨ The whole point is literally Add a mac filter to the filter list β€” that’s the name, that’s the vibe, it ate. πŸ’…

✨ SYNOPSIS ✨

the signature is giving β€œkernel function realness,” so keep it exactly like this:

int idpf_add_mac_filter (struct idpf_vport *vport , struct
       idpf_netdev_priv *np , const u8 *macaddr , bool async );

🫢 ARGUMENTS 🫢

  • vport β€” Main vport structure. the main-character struct, no cap.
  • np β€” Netdev private structure. private like a finsta, but for netdev.
  • macaddr β€” The MAC address. the MAC address, literally the moment.
  • async β€” Don't wait for return message. lowkey β€œI’ll check the group chat later” energy.

πŸ’… DESCRIPTION πŸ’…

Returns 0 on success or error on failure β€” periodt. If interface is up, we’ll also send the virtchnl message to tell hardware about the filter. that’s the tea, bestie: success gets 0, failure gets an error, and when the interface is up the hardware gets the virtchnl memo about the filter. 🫢

🌈 SEE ALSO 🌈

okay this list is long but we are not skipping a single link, because every reference is iconic in its own way. The kernel file is ./drivers/net/ethernet/intel/idpf/idpf_lib.c, and then here’s the whole crew:


xoxo, sourced from ./drivers/net/ethernet/intel/idpf, dated October 2026, page idpf_add_mac_filter(9) β€” bye bestie, go add those mac filters with main-character energy πŸ’–πŸ«Ά

πŸ“¦ where this page comes from