octep_vf_start_xmit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… octep_vf_start_xmit β€” a Kernel API Manual moment

okay so bestie, welcome to octep_vf_start_xmit(9), the little function that could β€” it's from the kernel API manual and it's literally the one that sends your packets. Yes, the main character. ✨


🌸 NAME 🌸

octep_vf_start_xmit β€” enqueue a packet to the Octeon hardware Tx Queue. That's it, that's the whole vibe: packet goes in, hardware Tx Queue gets fed. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

netdev_tx_t octep_vf_start_xmit (struct sk_buff *skb , struct net_device
*netdev );

no cap, that's the exact signature β€” memorize it or at least copy-paste it correctly, iykyk 🫢


✨ ARGUMENTS ✨

  • skb β€” a packet skbuff pointer. the little data baby you're handing over πŸ’Œ
  • netdev β€” the kernel network device. the context, the setting, the whole scene it happens in 🌈

πŸ”₯ RETURN πŸ”₯

  • NETDEV_TX_BUSY β€” returned if the Tx Queue is full. like, no room, try again later, the queue said "I'm booked" πŸ’€
  • NETDEV_TX_OK β€” returned if it was successfully enqueued to the hardware Tx Queue. slay, it ate, it's in πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘

first up, the actual kernel file where this lives:

./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c

and then the whole friend group β€” every single one of these, no skipping, we stan a complete reference list:

ngl, octep_vf_iq_full_check(9) is lowkey the bestie of NETDEV_TX_BUSY β€” full queue check energy, you love to see it πŸ’œ

and that's the page, periodt 🧚 this icon of a manual page is brought to you by the source tree over at ./drivers/net/ethernet/marvell... and it's dated October 2026 β€” so yeah, it's giving future nostalgia, go read the rest of the family, mwah πŸ’– πŸ“

πŸ“¦ where this page comes from