ice_lldp_fltr_add_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_lldp_fltr_add_remove β€” Kernel API Manual ✨

hiii bestie 🫢 so this is the page for ice_lldp_fltr_add_remove, straight out of the Kernel API Manual, and it's genuinely one of the chillest little functions you'll meet today. lowkey iconic. it does exactly one job and it does it well: adding or removing a LLDP Rx switch filter. that's it. that's the whole vibe πŸ’…


✨ NAME ✨

ice_lldp_fltr_add_remove β€” add or remove a LLDP Rx switch filter πŸŽ€


🌸 SYNOPSIS 🌸

int ice_lldp_fltr_add_remove (struct ice_hw *hw , struct ice_vsi *vsi ,
       bool add );

πŸ¦‹ ARGUMENTS πŸ¦‹

okay so here's what you're feeding it, no cap:

  • hw β€” pointer to HW struct πŸ’œ this is your hardware situation, the main character of the whole thing.
  • vsi β€” the VSI to add the filter to πŸŽ€ that's where the filter's going, bestie.
  • add β€” boolean for if adding or removing a filter ✨ like a little on/off switch. true-ish means add, otherwise it's packing its bags and leaving.

πŸ”₯ RETURN πŸ”₯

here's the tea on what you get back:

  • 0 on success πŸ‘‘ slay, everything worked.
  • -EOPNOTSUPP if the operation cannot be performed with this HW or VSI πŸ™ˆ like sorry, this hardware/vsi combo is just not built for that.
  • otherwise, an error corresponding to the AQ transaction result πŸ’€ so basically whatever the AQ transaction said, you get that energy back.
ngl, that last one is the catch-all β€” if it's not 0 and not -EOPNOTSUPP, it's the AQ transaction telling you how it went. fr fr.

🌈 SEE ALSO 🌈

buckle up bestie, this list is long β€” the Kernel file is ./drivers/net/ethernet/intel/ice/ice_common.c and there are SO many sibling functions. all of them, in order, exactly as they come 🧚:


and that's the whole page, bestie πŸ’– this icon lives in ./drivers/net/ethernet/intel/ice, and it's dated October 2026 β€” go forth, add and remove those LLDP Rx switch filters, and remember: 0 is the success slay, -EOPNOTSUPP means this HW/VSI isn't the moment, and anything else is the AQ transaction giving you its honest opinion. πŸŽ€βœ¨ iykyk πŸ’…

πŸ“¦ where this page comes from