emac_dev_xmit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨ β€” emac_dev_xmit from the Kernel API Manual πŸ’…

okay so bestie, this page is all about emac_dev_xmit, aka the EMAC transmit function. That’s the whole vibe: transmit, but make it kernel. πŸ¦‹


🌸 SYNOPSIS 🌸

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

πŸ’… ARGUMENTS πŸ’…

  • skb β€” SKB pointer. literally the packet-shaped bestie.
  • ndev β€” The DaVinci EMAC network adapter. that’s the device we’re working with, periodt.

πŸ¦‹ DESCRIPTION πŸ¦‹

Called by the system to transmit a packet β€” we queue the packet in the EMAC hardware transmit queue. no cap, that’s the whole job.

Returns success (NETDEV_TX_OK) or error code (typically out of desc's). 😭 so yeah, either it slays or it comes back with an error.


πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/net/ethernet/ti/davinci_emac.c

the whole EMAC squad, assembled:


🫢 cute sign-off: source/version ./drivers/net/ethernet/ti, date October 2026, page emac_dev_xmit(9) β€” bye bestie, go be the main character of packet transmission πŸ’–

πŸ“¦ where this page comes from