t4vf_iq_free(9)
β¨ t4vf_iq_free(9) β¨
okay bestie, welcome to the Kernel API Manual π
this one's from the <pink>Kernel API Manual</pink> section, it's called t4vf_iq_free, and it is literally the cleanup queen of the chelsio cxgb4vf world. she frees things. that's her whole job. slay. π
πΈ NAME πΈ
t4vf_iq_free β free an ingress queue and its free lists π¦
π«Ά SYNOPSIS π«Ά
int t4vf_iq_free (struct adapter *adapter , unsigned int iqtype ,
unsigned int iqid , unsigned int fl0id , unsigned int fl1id );
like, five things go in, one int comes out, no cap. β¨
π ARGUMENTS π
adapterβ the adapter, aka the whole vibe. this is the thing you're operating on, bestie.iqtypeβ the ingress queue type, likeFW_IQ_TYPE_FL_INT_CAP, etc. yes, "etc." β the manpage said etc. and i'm not about to guess at numbers that aren't written down. πiqidβ the ingress queue ID. the main character ID, honestly. πfl0idβ the FL0 queue ID, or0xffffif there's no attached FL0. that0xffffis the "nobody's home" signal, so don't get it twisted. πfl1idβ the FL1 queue ID, or0xffffif there's no attached FL1. same deal, same little0xffffescape hatch. π
π₯ DESCRIPTION π₯
t4vf_iq_free frees an ingress queue and its associated free lists, if any. that's the whole plot. it's giving "spring cleaning but make it kernel." π§β¨ and note the "if any" β the free lists are only a thing if they're actually attached, which is exactly why fl0id and fl1id have that 0xffff option. iykyk. π
π SEE ALSO π
the kernel file lives right here, fr fr:
./drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
and here's the whole friend group, all of them, in order, because i would never do them dirty by skipping anyone π«Ά:
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_free_mac_filt(9), t4vf_change_mac(9), t4vf_set_addr_hash(9), t4vf_get_port_stats(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)
π and that's the page!! this came from the source path ./drivers/net/ethernet/chelsio... (yes it's truncated exactly like that, don't @ me) and the date on it is October 2026. go free those queues, bestie. periodt. ππ
π¦ 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