wx_set_vlvf(9)
π wx_set_vlvf β the kernel API manual, bestie edition β¨
okay so real talk, this page is wx_set_vlvf from the kernel API manual (section 9, kernel-land, no userland shenanigans here π«Ά). It's the lowkey hero that flips a lil bit in the VLVF table, and I'm gonna walk you through it like we're texting at 2am. π¦
β¨ NAME β¨
wx_set_vlvf β Set VLAN Pool Filter. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
int wx_set_vlvf (struct wx *wx , u32 vlan , u32 vind , bool vlan_on ,
bool *vfta_changed );
like, yes, it does return an int. yes, the params are a little stacked. no, we're not scared of it. π
π ARGUMENTS π
wxβ pointer to hardware structure. it's the whole hardware situation, the main character of this function ngl πvlanβ the VLAN id you're writing to the VLAN filter. u32, obviously πvindβ the VMDq output index that maps a queue to a VLAN id in VFVFB. iykyk π§vlan_onβ aboolflag: turn VLAN on in VFVF, or off. flip the switch bestie βvfta_changedβ pointer to aboolflag that tells you whether VFTA should be changed. ngl it's the gossip flag, it reports back π
π DESCRIPTION π
Turn on/off the specified bit in the VLVF table. literally that's the whole job and she does it slayfully. β¨
π₯ SEE ALSO π₯
the friend group, in order, no one gets left out π:
- Kernel file
./drivers/net/ethernet/wangxun/libwx/wx_hw.c 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_find_vlvf_slot(9),wx_set_vfta(9),wx_clear_vfta(9),wx_update_stats(9),wx_clear_hw_cntrs(9),wx_start_hw(9)
no cap, that's a whole group chat right there. screenshot-worthy roster fr fr πΈ
lowkey reminder: the args are pointers in places (wx,vfta_changed), so treat them with the respect they deserve. don't be out here passing nonsense bestie π
and that's the page! π this lil beauty comes from ./drivers/net/ethernet/wangxun... and it's dated October 2026, filed under wx_set_vlvf(9). bestie, you're officially educated, go forth and slay that VLVF table πππ«Ά
π¦ 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