ice_tx_prepare_vlan_flags(9)
π 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 tostruct 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 π§:
ice_prgm_fdir_fltr(9)ice_unmap_and_free_tx_buf(9)ice_clean_tstamp_ring(9)ice_free_tstamp_ring(9)ice_free_tx_tstamp_ring(9)ice_clean_tx_ring(9)ice_free_tx_ring(9)ice_clean_tx_irq(9)ice_alloc_tstamp_ring(9)ice_setup_tstamp_ring(9)ice_alloc_setup_tstamp_ring(9)ice_setup_tx_ring(9)ice_clean_rx_ring(9)ice_free_rx_ring(9)ice_setup_rx_ring(9)ice_run_xdp(9)ice_xmit_xdp_ring(9)ice_xdp_xmit(9)ice_init_ctrl_rx_descs(9)ice_alloc_rx_bufs(9)ice_clean_ctrl_rx_irq(9)ice_clean_rx_irq(9)ice_net_dim(9)ice_buildreg_itr(9)ice_enable_interrupt(9)ice_set_wb_on_itr(9)ice_napi_poll(9)__ice_maybe_stop_tx(9)ice_maybe_stop_tx(9)ice_tx_map(9)ice_tx_csum(9)ice_tso(9)ice_txd_use_count(9)ice_xmit_desc_count(9)__ice_chk_linearize(9)ice_chk_linearize(9)ice_tstamp(9)ice_xmit_frame_ring(9)ice_start_xmit(9)ice_get_dscp_up(9)ice_clean_ctrl_tx_irq(9)
πΈ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms