On top of the PCIe bus there is a DMA engine that makes it possible for a NIC to read and write from/to host memory without using a CPU.
While the NIC is active, it will always read and write packets on its own, with minimal CPU intervention.