xcan_rx_poll(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xcan_rx_poll πŸ’–

okay bestie, welcome to xcan_rx_poll(9) β€” it's a Kernel API Manual page and it's literally the poll routine for rx packets (NAPI). yes, we're in the CAN driver trenches today and we're gonna slay it πŸ¦‹


✨ NAME ✨

xcan_rx_poll β€” the poll routine for rx packets, and yes it's NAPI, iykyk πŸ’…


✨ SYNOPSIS ✨

int xcan_rx_poll (struct napi_struct *napi , int quota );

like, that's the whole vibe. two args, one int coming back at you πŸŽ€


✨ ARGUMENTS ✨

  • napi β€” a pointer to the napi structure. that's it, that's the whole thing, she's just a pointer πŸ’«
  • quota β€” the max number of rx packets to be processed. think of it as the packet budget, and we do not go over budget bestie πŸ™ˆ

✨ DESCRIPTION ✨

so this is the poll routine for the rx part, periodt. it processes the packets up to that maximum quota value β€” no more, no less, the girl knows her limits πŸ’…βœ¨

ngl it's a short one but she's lowkey the main character of the receive path πŸŽ€


✨ RETURN ✨

it returns the number of packets received 🫢 that's the whole return value. count 'em and hand 'em over, no cap πŸ“¦


✨ SEE ALSO ✨

bestie there's a whole friend group here, like an entire group chat of xilinx CAN functions, and every single one of them is invited 🌸

first up, the source file itself: the kernel file ./drivers/net/can/xilinx_can.c πŸ‘‘

then the ensemble cast, in order, no one gets left out:

like, go read them all, they're all icons in their own right πŸ’œ


lowkey reminder: this is kernel documentation, so if you're poking at the rx path, read the actual source too β€” the manpage is the vibe check, not the whole story 🧚

and that's the page bestie!! πŸ’– this lil beauty lives down in ./drivers/net/can and it's dated October 2026 β€” so yeah, she's from the future and she's still iconic 🌈⭐ mwah, go process those packets responsibly πŸŽ€

πŸ“¦ where this page comes from