i40e_aq_add_veb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ i40e_aq_add_veb ✨

okay so bestie, we're deep in the Kernel API Manual today, and the star of the show is i40e_aq_add_veb(9) β€” the function that's literally matchmaking a VEB between your VSI and your MAC. networking wingman energy fr fr πŸ’…


🌸 NAME 🌸

i40e_aq_add_veb β€” Insert a VEB between the VSI and the MAC


πŸŽ€ SYNOPSIS πŸŽ€

int i40e_aq_add_veb (struct i40e_hw *hw , u16 uplink_seid , u16
downlink_seid , u8 enabled_tc , bool default_port , u16 *veb_seid , bool
enable_stats , struct i40e_asq_cmd_details *cmd_details );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the hw struct. your main character struct, the one you pass to literally everything.
  • uplink_seid β€” the MAC or other gizmo SEID. yes, "gizmo" is doing canonically the technical work here 😭
  • downlink_seid β€” the VSI SEID
  • enabled_tc β€” bitmap of TCs to be enabled
  • default_port β€” true for default port VSI, false for control port
  • veb_seid β€” pointer to where to put the resulting VEB SEID. it's an out-param bestie, give it somewhere to live 🫢
  • enable_stats β€” true to turn on VEB stats
  • cmd_details β€” pointer to command details structure or NULL

πŸ’– DESCRIPTION πŸ’–

So the way this works is β€” you're asking the FW (firmware, the other boss here) to add a VEB between the uplink and downlink elements. that's it, that's the whole vibe: uplink on one side, downlink on the other, VEB in the middle. matchmaker, matchmaker, make me a match πŸ’«

And here's the cute little plot twist: if the uplink SEID is 0, this will be a floating VEB. no cap. zero means float. 🎈


πŸ’œ SEE ALSO πŸ’œ

The source lives in the kernel file ./drivers/net/ethernet/intel/i40e/i40e_common.c β€” go say hi πŸ‘‹

Now the friend group. there's like a hundred of them, and they're all (9) sections, and yes i'm listing every single one because we do not leave anyone out in this group chat 🫢✨


and that's the whole page bestie, no notes πŸ’…

✧ο½₯゚: * sign-off time * :ο½₯゚✧ brought to you by the lovely people hanging out in ./drivers/net/ethernet/intel/i40e, dated October 2026, and yeah this one's filed under i40e_aq_add_veb(9). go build something iconic with it πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from