ice_set_fdir_vlan_seg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_set_fdir_vlan_seg β€” the glow-up guide ✨

okay so bestie, welcome to the ice_set_fdir_vlan_seg(9) page from the Kernel API Manual 🧚 β€” yes it's a kernel function, yes it's niche, but we're gonna make it make sense, i promise 🫢


🌸 NAME 🌸

ice_set_fdir_vlan_seg β€” it sets the vlan segments for an ether flow, no cap πŸ’…


✨ SYNOPSIS ✨

int ice_set_fdir_vlan_seg (struct ice_flow_seg_info *seg , struct
      ethtool_flow_ext *ext_masks );

like, it takes two things and gives you back an int, periodt πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • seg β€” the flow segment we're programming, it's the main character here πŸ‘‘
  • ext_masks β€” masks for the extra RX flow fields, lowkey important πŸ™ˆ

⭐ RETURN ⭐

returns 0 on success, and errno in case of error β€” so if it's not 0, something went off πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

first up, the kernel file itself lives at ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c β€” go say hi πŸ“

and then the whole friend group, fr fr:

that's the whole squad, iykyk 🌈


ngl bestie, that's the entire page β€” it's a short one, but it ate πŸ’€βœ¨

and that's a wrap! πŸŽ€ this little beauty comes to you from ./drivers/net/ethernet/intel/ice, dated October 2026 β€” mwah, go forth and set those vlan segments πŸ’œπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from