ice_is_suppo...t_vlan_proto(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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_8021Q and ETH_P_8021AD are supported πŸ’–βœ¨
  • If the device is configured in Single VLAN Mode (SVM), then only ETH_P_8021Q is 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:

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