nps_enet_start_xmit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

nps_enet_start_xmit πŸ’…

okay so this page lives in the Kernel API Manual, and it’s all about one little function that gets the transmission party started. bestie, it’s giving β€œupper layers said go” energy. ✨


🌸 NAME 🌸

nps_enet_start_xmit β€” Starts the data transmission. πŸš€

πŸ¦‹ SYNOPSIS πŸ¦‹

netdev_tx_t nps_enet_start_xmit (struct sk_buff *skb , struct net_device
       *ndev );

πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” a sk_buff pointer that contains the data to be Transmitted. literally the payload carrier, no cap. πŸ“¦
  • ndev β€” pointer to the net_device structure. the network-device bestie in question. 🫢

πŸ’– RETURN πŸ’–

  • NETDEV_TX_OK, on success ✨
  • NETDEV_TX_BUSY, if any of the descriptors are not free 😭
so yeah, if any of the descriptors are not free, the vibe check comes back NETDEV_TX_BUSY. periodt. πŸ’…

🌈 DESCRIPTION 🌈

This function is invoked from upper layers to initiate transmission. that’s the whole assignment: upper layers call it when it’s time to start sending. iconic behavior, honestly. πŸ”₯

⭐ SEE ALSO ⭐

Kernel file ./drivers/net/ethernet/ezchip/nps_enet.c β€” and these related function besties, iykyk:


and that’s the page, bestie πŸŽ€βœ¨ source/version: ./drivers/net/ethernet/ezchip Β· date: October 2026 πŸ’œπŸ¦‹

πŸ“¦ where this page comes from