t4vf_iq_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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, like FW_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, or 0xffff if there's no attached FL0. that 0xffff is the "nobody's home" signal, so don't get it twisted. πŸ’€
  • fl1id β€” the FL1 queue ID, or 0xffff if there's no attached FL1. same deal, same little 0xffff escape 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