axienet_rx_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… axienet_rx_irq β€” Rx Isr ✨

okay bestie, so this is a page straight out of the Kernel API Manual (that's the manual name, keep it in your notes πŸ““), and it's about one tiny but iconic little function. Let's get into it πŸŽ€


🌸 NAME 🌸

axienet_rx_irq β€” the Rx Isr. that's it, that's the whole vibe. receive-side interrupt service routine, main character energy 🫢


✨ SYNOPSIS ✨

irqreturn_t axienet_rx_irq (int irq , void *_ndev );

like yes, two args, one return type, no notes πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • irq β€” the irq number. yep, just the number of the interrupt we're dealing with, no cap πŸ”₯
  • _ndev β€” a net_device pointer. lowkey the important one πŸ’–

πŸ’€ RETURN πŸ’€

  • IRQ_HANDLED β€” if the device actually generated a RX interrupt (slay, we handled it βœ…)
  • IRQ_NONE β€” otherwise (not us, not our interrupt, we move on πŸ™ˆ)

🧚 DESCRIPTION 🧚

okay so. this is the Axi DMA Rx Isr πŸ’œ and what it does is genuinely so simple it's giving minimalism: it invokes NAPI polling to complete the RX BD processing. that's the whole thing. it hands the actual finishing work off to NAPI like the responsible queen it is πŸ‘‘

literally: interrupt fires β†’ function says "not doing all that here" β†’ NAPI polling takes over β†’ RX BD processing gets completed 🌈


🌟 SEE ALSO 🌟

the entire friend group, fr fr πŸ’… β€” first up, the kernel file where all of this lives:

./drivers/net/ethernet/xilinx/xilinx_axienet_main.c

and then the whole squad of sibling functions, all (9):

no skipping any of them bestie, that's all 42, i counted πŸ’–


ngl this whole page is short and sweet β€” don't overthink it, just remember: RX interrupt comes in, NAPI does the rest ✨

and that's the page, bb 🫢 this one came from the source tree over at ./drivers/net/ethernet/xilinx and it's dated October 2026 β€” so go forth and slay those receive interrupts, ily πŸ’œπŸŽ€

πŸ“¦ where this page comes from