xcan_rx(9)
π xcan_rx(9) β Kernel API Manual, bestie edition π
okay so we are literally in the Kernel API Manual for xcan_rx(9), and this page is the group chat for the CAN isr received-frame completion moment. itβs giving βsmall function, important jobβ π
β¨ NAME β¨
xcan_rx β Is called from CAN isr to complete the received frame processing. no cap, thatβs the name-line tea π«
πΈ SYNOPSIS πΈ
int xcan_rx (struct net_device *ndev , int frame_base );
π ARGUMENTS π
ndevβ Pointer tonet_devicestructure. itβs the net device bestie, okay? πframe_baseβ Register offset to the frame to be read. yes, that exact offset vibe.
π¦ DESCRIPTION π¦
This function is invoked from the CAN isr(poll) to process the Rx frames. it does minimal processing and invokes netif_receive_skb to complete further processing. so like, it handles the rx moment but delegates the rest β lowkey iconic teamwork, fr fr β¨
π RETURN π
1 on success and 0 on failure. thatβs the whole return vibe, bestie π«Ά
π SEE ALSO π
go read these next, iykyk:
- Kernel file
./drivers/net/can/xilinx_can.candstruct 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_fifo(9)xcan_start_xmit_mailbox(9)xcan_start_xmit(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)
and thatβs the page! source/version footer vibe: ./drivers/net/can, date October 2026, page xcan_rx(9) ππ«Ά
π¦ 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