ice_remove_mac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

okay so bestie, this is ice_remove_mac(9) from the Kernel API Manual, and it is literally the function that does one thing: remove a MAC address based filter rule ✨.


✨ SYNOPSIS ✨

int ice_remove_mac (struct ice_hw *hw , struct list_head *m_list );

🧾 ARGUMENTS 🧾

  • hw β€” pointer to the hardware structure πŸ’».
  • m_list β€” list of MAC addresses and forwarding information 🧡.

πŸŽ€ DESCRIPTION πŸŽ€

This function removes either a MAC filter rule or a specific VSI from a VSI list for a multicast MAC address 🎯.

It returns -ENOENT if a given entry was not added by ice_add_mac. Caller should be aware that this call will only work if all the entries passed into m_list were added previously. It will not attempt to do a partial remove of entries that were found 🚨.

fr fr, this is not a β€œremove whatever you can find” situation β€” the whole list needs to have been added before, or it bails with -ENOENT πŸ’€.

🌈 SEE ALSO 🌈


πŸ’Œ cute sign-off: this cutie comes from the Kernel API Manual, source/version ./drivers/net/ethernet/intel/ice, dated October 2026 β€” that’s the whole vibe, no cap 🫢.

πŸ“¦ where this page comes from