xcan_start_xmit_fifo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xcan_start_xmit_fifo(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so this is a page from the Kernel API Manual, and it's about xcan_start_xmit_fifo β€” the lil function that starts the transmission in FIFO mode. yes it's giving "CAN driver internals" and honestly? kind of iconic. let's get into it πŸ’…


✨ NAME ✨

xcan_start_xmit_fifo β€” Starts the transmission (FIFO mode) πŸš€

like literally, that's its whole job. it kicks off the Tx, FIFO style.


🌸 SYNOPSIS 🌸

int xcan_start_xmit_fifo (struct sk_buff *skb , struct net_device *ndev
);

so it takes exactly two things and hands you back an int. no cap. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • skb β€” the sk_buff pointer that contains the data to be Txed. that's the payload, bestie. the whole reason we're here. πŸ’Œ
  • ndev β€” pointer to the net_device structure. yup, the network device itself. πŸ‘‘

πŸ”₯ RETURN πŸ”₯

  • 0 on success β€” we ate. πŸ’…
  • -ENOSPC if the FIFO is full 😭 β€” like, no space, nowhere to put it, the queue said "not today."
fr fr: it returns 0 when it works and -ENOSPC when the FIFO is full. those are the only two outcomes listed, so don't go inventing extra ones. πŸ‘€

πŸ’œ SEE ALSO πŸ’œ

everything in the xcan cinematic universe, coming in hot β€” and the kernel file these all live in is ./drivers/net/can/xilinx_can.c together with struct xcan_priv(9):

like… that's the whole friend group 😭 every single one. iykyk. 🌈


aaand that's the page! quick cute sign-off before you go 🧚: this one lives under ./drivers/net/can, dated October 2026, in the xcan_start_xmit_fifo(9) corner of the Kernel API Manual. go forth and transmit, bestie πŸ’–β­πŸ“

πŸ“¦ where this page comes from