t4vf_free_mac_filt(9)
๐ 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 itaddrโ 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:
t4vf_record_mbox(9)t4vf_wr_mbox_core(9)fwcaps16_to_caps32(9)fwcap_to_fwspeed(9)t4vf_port_init(9)t4vf_fw_reset(9)t4vf_query_params(9)t4vf_set_params(9)t4vf_fl_pkt_align(9)t4vf_bar2_sge_qregs(9)t4vf_get_sge_params(9)t4vf_get_vpd_params(9)t4vf_get_dev_params(9)t4vf_get_rss_glb_config(9)t4vf_get_vfres(9)t4vf_read_rss_vi_config(9)t4vf_write_rss_vi_config(9)t4vf_config_rss_range(9)t4vf_alloc_vi(9)t4vf_free_vi(9)t4vf_enable_vi(9)t4vf_enable_pi(9)t4vf_identify_port(9)t4vf_set_rxmode(9)t4vf_alloc_mac_filt(9)t4vf_change_mac(9)t4vf_set_addr_hash(9)t4vf_get_port_stats(9)t4vf_iq_free(9)t4vf_eth_eq_free(9)t4vf_link_down_rc_str(9)t4vf_handle_get_port_info(9)t4vf_update_port_info(9)t4vf_handle_fw_rpl(9)t4vf_get_vf_mac_acl(9)t4vf_get_vf_vlan_acl(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms