ice_is_suppo...t_vlan_proto(9)
π ice_is_supported_port_vlan_proto(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, it's giving "official documentation energy" and we're gonna get through it together π«Ά This page is about one lil' bool-returning function and honestly? She's a queen.
β¨ NAME β¨
ice_is_supported_port_vlan_proto β make sure the vlan_proto is supported β
(that's literally her whole job, no cap)
πΈ SYNOPSIS πΈ
bool ice_is_supported_port_vlan_proto (struct ice_hw *hw , u16 vlan_proto );
π ARGUMENTS π
hwβ the hardware structure π» she's the one you pass in so the function can check the VLAN mode. main character energy fr fr.vlan_protoβ the VLAN TPID that's being checked π this is the thing we're asking about.
π¦ DESCRIPTION π¦
okay so here's the tea β β it all depends on which mode the device is configured in:
- If the device is configured in Double VLAN Mode (DVM), then both
ETH_P_8021QandETH_P_8021ADare supported πβ¨ - If the device is configured in Single VLAN Mode (SVM), then only
ETH_P_8021Qis supported π₯² that's it, that's the list.
so like, she really said "it depends" and honestly? valid. π
π₯ SEE ALSO π₯
first up, the kernel file herself:
Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c
and now the whole entire friend group π β yes, every single one, we're not skipping anybody:
ice_free_vf_entries(9)ice_free_vf_res(9)ice_dis_vf_mappings(9)ice_free_vfs(9)ice_vf_vsi_setup(9)ice_ena_vf_msix_mappings(9)ice_ena_vf_q_mappings(9)ice_ena_vf_mappings(9)ice_calc_vf_reg_idx(9)ice_set_per_vf_res(9)ice_init_vf_vsi_res(9)ice_start_vfs(9)ice_sriov_free_vf(9)ice_sriov_clear_reset_state(9)ice_sriov_clear_mbx_register(9)ice_sriov_trigger_reset_register(9)ice_sriov_poll_reset_status(9)ice_sriov_clear_reset_trigger(9)ice_sriov_post_vsi_rebuild(9)ice_create_vf_entries(9)ice_ena_vfs(9)ice_pci_sriov_ena(9)ice_check_sriov_allowed(9)ice_sriov_get_vf_total_msix(9)ice_sriov_set_msix_vec_count(9)ice_sriov_configure(9)ice_process_vflr_event(9)ice_get_vf_from_pfq(9)ice_globalq_to_pfq(9)ice_vf_lan_overflow_event(9)ice_set_vf_spoofchk(9)ice_get_vf_cfg(9)__ice_set_vf_mac(9)ice_set_vf_mac(9)ice_setup_vf_trust(9)ice_set_vf_trust(9)ice_set_vf_link_state(9)ice_calc_all_vfs_min_tx_rate(9)ice_min_tx_rate_oversubscribed(9)ice_set_vf_bw(9)ice_get_vf_stats(9)ice_set_vf_port_vlan(9)ice_print_vf_rx_mdd_event(9)ice_print_vf_tx_mdd_event(9)ice_print_vfs_mdd_events(9)ice_restore_all_vfs_msi_state(9)
likeβ¦ that's a whole squad π§ go read them, iykyk π
and that's the page!! π mwah π this lil' cutie lives in ./drivers/net/ethernet/intel/ice and the version situation is dated October 2026 β so she's from the future bestie, slay βπ bye!! π¦
π¦ 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