t4vf_free_mac_filt(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… t4vf_free_mac_filt(9) โ€” like, the kernel API manual, bestie ๐ŸŽ€

okay so we're deep in the kernel API manual today and the star of the show is t4vf_free_mac_filt โœจ she's a little function with one job and she does it fine.


๐ŸŒธ NAME ๐ŸŒธ

t4vf_free_mac_filt โ€” frees exact-match filters of given MAC addresses ๐Ÿซถ


โœจ SYNOPSIS โœจ

int t4vf_free_mac_filt (struct adapter *adapter , unsigned int viid ,
       unsigned int naddr , const u8 **addr , bool sleep_ok );

like. look at her. five params, one int. iconic behavior honestly ๐Ÿ’…


๐ŸŽ€ ARGUMENTS ๐ŸŽ€

  • adapter โ€” the adapter, aka the whole entire vibe provider for this call ๐Ÿ–ฅ๏ธ
  • viid โ€” the VI id ๐Ÿ”ข
  • naddr โ€” the number of MAC addresses to allocate filters for (up to 7) ๐Ÿ‘€ yes bestie, 7 is the ceiling, don't push it
  • addr โ€” the MAC address(es) ๐Ÿ“ฎ
  • sleep_ok โ€” call is allowed to sleep ๐Ÿ˜ด like, it has permission

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Frees the exact-match filter for each of the supplied addresses. one by one, no cap. ๐Ÿงนโœจ

Returns a negative error number or the number of filters freed. so like, either it went badly (negative, sad, ๐Ÿ˜ญ) or it tells you how many it freed (a little win, we love a little win ๐ŸŒˆ).


๐Ÿ’œ SEE ALSO ๐Ÿ’œ

Kernel file ./drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c โ€” go read the source, iykyk ๐Ÿ“–

and the whole friend group, in order, no one gets left out:

like, that's the whole group chat right there ๐Ÿ’€๐Ÿ’–


fr fr: the free-est thing you can do is free some filters. slay. ๐ŸŒŸ

anyway, this page came from ./drivers/net/ethernet/chelsio... and it's dated October 2026, and the page itself is t4vf_free_mac_filt(9) โ€” mwah, love that for us ๐Ÿ‘‘๐ŸŒธ bye bestie!!

๐Ÿ“ฆ where this page comes from