ctucan_rx_poll(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


🌸 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