ice_tx_prepare_vlan_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_tx_prepare_vlan_flags(9) β€” or, "getting your Tx VLAN flags cute before the HW sees them"

okay so this is a page straight out of the Kernel API Manual πŸ“–βœ¨ and it's all about one little helper that preps generic Tx VLAN tagging flags for the hardware. grab a strawberry drink πŸ“ and let's go.


✨ NAME ✨

ice_tx_prepare_vlan_flags β€” prepare generic Tx VLAN tagging flags for HW πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void ice_tx_prepare_vlan_flags (struct ice_tx_ring *tx_ring , struct
ice_tx_buf *first );

πŸŽ€ ARGUMENTS πŸŽ€

  • tx_ring β€” the ring you're sending that buffer on. like, the venue. the venue matters 🫢
  • first β€” pointer to struct ice_tx_buf. yes bestie, that's the one 🌸

πŸ”₯ DESCRIPTION πŸ”₯

so what does it actually do? it checks the skb and then sets up, correspondingly, several generic transmit flags related to VLAN tagging for the HW β€” the big ones being VLAN, DCB, etc. ⭐

that's it. that's the whole vibe. it's not out here doing the transmit, it's doing the paperwork before the transmit, and honestly? iconic. πŸ‘‘

ngl this one is a "know it exists" function more than a "call it yourself" function β€” it's part of the ice Tx path and it's just setting flags, no return value, no drama πŸ’€

πŸ’œ SEE ALSO πŸ’œ

the kernel file lives right here:

./drivers/net/ethernet/intel/ice/ice_txrx.c

and here's the whole friend group, no cap, every single one 🧚:


🌸 okay that's the whole page, bestie 🌸

this gem comes from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's filed under ice_tx_prepare_vlan_flags(9). go set those flags. slay. πŸ’…βœ¨

πŸ“¦ where this page comes from