Hacker News new | ask | show | jobs
by emmericp 2903 days ago
This all happens after the packet is transferred over PCIe to the CPU/memory (even the interrupt happens after DMA transfer). Otherwise the XDP code wouldn't have access to the packet to filter it; the example doesn't just drop all packets, it drops all packets matching a /24 subnet which happens to be all packets here ;)
1 comments

Ah ok! I was kinda confused by that xD