wx_set_vfta(9)
π wx_set_vfta β NAME
okay so bestie, this is wx_set_vfta and it does exactly one iconic thing: Set VLAN filter table. that's it. that's the whole vibe. we're living in the Kernel API Manual today and honestly? it's giving hardware-whisperer energy. π
β¨ SYNOPSIS β¨
int wx_set_vfta (struct wx *wx , u32 vlan , u32 vind , bool vlan_on );
like, that's the whole signature. no cap. π¦
πΈ ARGUMENTS πΈ
wxβ pointer to hardware structure. yes it's literally the hardware. be nice to it. π₯vlanβ the VLAN id to write to the VLAN filter. it's the number you're trying to slot in. iykyk. β¨vindβ VMDq output index that maps the queue to the VLAN id in VFVFB. kinda the matchmaker between your queue and your VLAN fr fr. πvlan_onβ boolean flag to turn on/off VLAN in VFVF.true= on era,false= off era. π«Ά
π DESCRIPTION π
so what it does is turn on/off the specified VLAN in the VLAN filter table. that's the entire job. no extra steps, no side quests, just flipping that VLAN's little switch on or off. lowkey elegant if you think about it. π§
heads up bestie: both the "on" and "off" directions happen through this one call β the vlan_on flag is the actual main character here. π
π SEE ALSO π
- 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_vlvf(9)wx_clear_vfta(9)wx_update_stats(9)wx_clear_hw_cntrs(9)wx_start_hw(9)
okay that's the whole page, go touch some grass (after you set your VLAN filter table) π±π
this masterpiece of a manual page came from ./drivers/net/ethernet/wangxun... and it's dated October 2026. slay. 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