wx_find_vlvf_slot(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… wx_find_vlvf_slot β€” Kernel API Manual ✨

okay so bestie, we're diving into the Kernel API Manual today and honestly? this one's a little cutie. it's called wx_find_vlvf_slot and it does exactly one job and does it iconically πŸŽ€


🌸 NAME 🌸

wx_find_vlvf_slot β€” find the vlanid or the first empty slot πŸ¦‹


✨ SYNOPSIS ✨

int wx_find_vlvf_slot (struct wx *wx , u32 vlan );

πŸ’– ARGUMENTS πŸ’–

  • wx β€” pointer to hardware structure. yes bestie, the whole hardware vibe, handed to you as a pointer πŸ”₯
  • vlan β€” the VLAN id to write to the VLAN filter. this is the number we're hunting a home for πŸ‘‘

🧚 DESCRIPTION 🧚

so what does it actually do? it returns the VLVF index where this VLAN id should be placed. that's it. that's the whole personality πŸ’… it looks at your vlan id and goes "okay girl, you belong at this index" and hands it back to you. main character energy, minimal dialogue 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

the source lives right here in the kernel, no cap:

Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c

and here's the whole friend group, fr fr:

wx_irq_disable(9), wx_mng_present(9), wx_release_sw_sync(9), wx_acquire_sw_sync(9), wx_host_interface_command(9), wx_read_ee_hostif_data(9), wx_read_ee_hostif(9), wx_read_ee_hostif_buffer(9), wx_init_eeprom_params(9), wx_get_mac_addr(9), wx_set_rar(9), wx_clear_rar(9), wx_clear_vmdq(9), wx_init_uta_tables(9), wx_init_rx_addrs(9), wx_write_uc_addr_list(9), wx_mta_vector(9), wx_set_mta(9), wx_update_mc_addr_list(9), wx_write_mc_addr_list(9), wx_set_mac(9), wx_set_rxpba(9), wx_hpbthresh(9), wx_lpbthresh(9), wx_pbthresh_setup(9), wx_disable_sec_rx_path(9), wx_enable_sec_rx_path(9), wx_change_mtu(9), wx_configure_tx(9), wx_configure_rx(9), wx_disable_pcie_master(9), wx_stop_adapter(9), wx_get_pcie_msix_counts(9), wx_init_rss_key(9), wx_set_vlvf(9), wx_set_vfta(9), wx_clear_vfta(9), wx_update_stats(9), wx_clear_hw_cntrs(9), wx_start_hw(9)

like. that's the entire roster. go say hi πŸ˜­πŸ’œ


lowkey a serve that a whole driver family shows up in one SEE ALSO section. ate and left no crumbs πŸ“

and that's the page, bestie!! 🌈 sourced from ./drivers/net/ethernet/wangxun..., dated October 2026, and filed under wx_find_vlvf_slot(9) β€” mwah, slay, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from