xcan_start_xmit_fifo(9)
π 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β thesk_buffpointer that contains the data to be Txed. that's the payload, bestie. the whole reason we're here. πndevβ pointer to thenet_devicestructure. yup, the network device itself. π
π₯ RETURN π₯
0on success β we ate. π-ENOSPCif the FIFO is full π β like, no space, nowhere to put it, the queue said "not today."
fr fr: it returns0when it works and-ENOSPCwhen 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):
xcan_write_reg_le(9)xcan_read_reg_le(9)xcan_write_reg_be(9)xcan_read_reg_be(9)xcan_rx_int_mask(9)set_reset_mode(9)xcan_set_bittiming(9)xcan_chip_start(9)xcan_do_set_mode(9)xcan_write_frame(9)xcan_start_xmit_mailbox(9)xcan_start_xmit(9)xcan_rx(9)xcanfd_rx(9)xcan_current_error_state(9)xcan_set_error_state(9)xcan_update_error_state_after_rxtx(9)xcan_err_interrupt(9)xcan_state_interrupt(9)xcan_rx_fifo_get_next_frame(9)xcan_rx_poll(9)xcan_tx_interrupt(9)xcan_interrupt(9)xcan_chip_stop(9)xcan_open(9)xcan_close(9)xcan_get_berr_counter(9)xcan_get_auto_tdcv(9)xcan_suspend(9)xcan_resume(9)xcan_runtime_suspend(9)xcan_runtime_resume(9)xcan_probe(9)xcan_remove(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
- 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