ice_is_dvm_ena(9)
π ice_is_dvm_ena(9) β the kernel API manual page bestie edition π
okay so this is a page from the Kernel API Manual (section 9, iykyk), and it's about one (1) tiny little function that answers one (1) very specific question. she's small, she's cunty, she's ice_is_dvm_ena, and honestly? she ate. β¨
πΈ NAME πΈ
ice_is_dvm_ena β check if double VLAN mode is enabled π
like literally that's her whole job. one question. no cap.
π¦ SYNOPSIS π¦
bool ice_is_dvm_ena (struct ice_hw *hw );
that's it. that's the whole vibe. returns a bool, takes a pointer, moves on with her life. π
π ARGUMENTS π
hwβ pointer to the HW structure π«Ά literally just a pointer to the hardware struct, bestie, nothing spooky, she just needs to know which hardware we're talking about.
β¨ DESCRIPTION β¨
okay so here's the tea β β the device gets configured into single or double VLAN mode on initialization, and this cannot be dynamically changed during runtime. periodt. it's locked in at init, it's not switching up on you mid-run, that's not the vibe.
and because of that? there is no need to make an AQ call every time the driver needs to know the VLAN mode. like why would you ping the firmware over and over for something that literally cannot change π that's giving main character energy in the worst way.
instead β use the cached VLAN mode. it's right there. it's free. she's been sitting in the cache the whole time waiting for you. π β¨
no cap, the whole point of this function is β¨efficiencyβ¨ β read the cache, don't bother the AQ, everybody wins. π
π SEE ALSO π
the whole friend group π β go read these too, they're all in the same lore:
- Kernel file
./drivers/net/ethernet/intel/ice/ice_vlan_mode.c ice_pkg_get_supported_vlan_mode(9)ice_aq_get_vlan_mode(9)ice_aq_is_dvm_ena(9)ice_cache_vlan_mode(9)ice_pkg_supports_dvm(9)ice_fw_supports_dvm(9)ice_is_dvm_supported(9)ice_dvm_update_dflt_recipes(9)ice_aq_set_vlan_mode(9)ice_set_dvm(9)ice_set_svm(9)ice_set_vlan_mode(9)ice_print_dvm_not_supported(9)ice_post_pkg_dwnld_vlan_mode_cfg(9)
like a whole squad of VLAN-mode girlies, and honestly? iconic. π₯π
and that's the page, bestie π«Ά this one lives in ./drivers/net/ethernet/intel/ice, dated October 2026, and it's ice_is_dvm_ena(9) β mwah π go check your cached VLAN mode, she's waiting πβ¨π
π¦ 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