ice_pkg_get...ed_vlan_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_pkg_get...ed_vlan_mode(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes this is the page where the title is literally abbreviated with ... in the middle because it's too iconic to fit, we stan a mysterious queen πŸŽ€

🌸 NAME 🌸

ice_pkg_get_supported_vlan_mode β€” the little function that tells you whether your DDP is serving Double VLAN mode realness πŸ’–

no cap, that's it. that's the whole job. it checks if the DDP supports Double VLAN mode. main character energy only πŸ”₯

✨ SYNOPSIS ✨

int ice_pkg_get_supported_vlan_mode (struct ice_hw *hw , bool *dvm );

like literally just call it with your hw and a place to stash the answer, and it returns an int 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the HW struct. yes bestie, the hardware struct, the whole vibe check of the physical device goes in here πŸ’…
  • dvm β€” your output variable, and it's lowkey the whole point: it tells you whether the DDP supports DVM (that's true) or SVM (that's false) πŸ‘‘
so like… true = Double VLAN mode, false = Single VLAN mode. write it down πŸ“

🌈 SEE ALSO 🌈

okay this is the group chat of related functions, and ngl they're all kind of obsessed with VLAN mode too πŸ˜­πŸ’•

  • the kernel file itself: ./drivers/net/ethernet/intel/ice/ice_vlan_mode.c β€” the source, the origin, the mothership 🧚

and the whole squad:


and that's the page, bestie πŸŽ€ before you go β€” this masterpiece lives in ./drivers/net/ethernet/intel/ice and it's dated October 2026, so like, future icon behavior fr fr β­πŸ’œ slay, bye! πŸ’…βœ¨

πŸ“¦ where this page comes from