ice_aq_get_vlan_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_aq_get_vlan_mode β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so this is ice_aq_get_vlan_mode(9) and it lives in the Kernel API Manual section 9 β€” yes, the big-brain kernel-function section, we love her πŸ’–


✨ NAME ✨

ice_aq_get_vlan_mode β€” literally just goes and gets the VLAN mode of the device πŸ¦‹ no cap, that's the whole job


🌸 SYNOPSIS 🌸

int ice_aq_get_vlan_mode (struct ice_hw *hw , struct
       ice_aqc_get_vlan_mode *get_params );

like… it takes two things and hands you back an int, slay ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW structure 🫢 your little handle on the hardware, she's the main character here
  • get_params β€” structure FW fills in based on the current VLAN mode config πŸ’… so like, the firmware does the writing and you just vibe and read it after, iconic

πŸ‘‘ DESCRIPTION πŸ‘‘

Get VLAN Mode Parameters (0x020D) 🌈 that's the opcode, iykyk β€” she goes and fetches the VLAN mode params from the firmware and drops them in get_params.


πŸ”₯ SEE ALSO πŸ”₯

The kernel file where all this lives, bestie: ./drivers/net/ethernet/intel/ice/ice_vlan_mode.c πŸ’œ

and the whole friend group, fr fr:


k that's the whole page, mwah πŸ’‹ it's from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's the Kernel API Manual β€” go get that VLAN mode, queen πŸ‘‘βœ¨

πŸ“¦ where this page comes from