ctucan_rx_poll(9)
π ctucan_rx_poll(9) β Kernel API Manual π
πΈ NAME πΈ
ctucan_rx_poll β poll routine for rx packets (NAPI). Okay so this is the function that handles the rx polling moment, and it is lowkey iconic, bestie.
β¨ SYNOPSIS β¨
int ctucan_rx_poll (struct napi_struct *napi , int quota );
π ARGUMENTS π
napiβ NAPI structure pointer. Thatβs the NAPI struct pointer, right there.quotaβ max number of rx packets to be processed. Think of it as the packet budget for this poll, fr fr.
π¦ DESCRIPTION π¦
This is the poll routine for the rx part, periodt. It will process packets up to the maximum quota value β the source literally says βmaximuxβ, and Iβm not fixing that, but the meaning is max quota. No cap, thatβs the whole job.
π RETURN π
Number of packets received. Thatβs it β it returns how many packets came through, slay.
π SEE ALSO π
The kernel file is literally ./drivers/net/can/ctucanfd/ctucanfd_base.c β go look, bestie. And then thereβs the whole iconic crew:
ctucan_state_to_str(9)ctucan_reset(9)ctucan_set_btr(9)ctucan_set_bittiming(9)ctucan_set_data_bittiming(9)ctucan_set_secondary_sample_point(9)ctucan_set_mode(9)ctucan_chip_start(9)ctucan_do_set_mode(9)ctucan_get_tx_status(9)ctucan_is_txt_buf_writable(9)ctucan_insert_frame(9)ctucan_give_txtb_cmd(9)ctucan_start_xmit(9)ctucan_read_rx_frame(9)ctucan_rx(9)ctucan_read_fault_state(9)ctucan_get_rec_tec(9)ctucan_err_interrupt(9)ctucan_rotate_txb_prio(9)ctucan_tx_interrupt(9)ctucan_interrupt(9)ctucan_chip_stop(9)ctucan_open(9)ctucan_close(9)ctucan_get_berr_counter(9)
πΈ thatβs the tea, bestie: source/version ./drivers/net/can/ctucanfd, date October 2026, page ctucan_rx_poll(9) β signing off with maximum sparkle π
π«Άβ¨
π¦ 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