pinggit / dpdk-contrail-book

contrail dpdk day one book
9 stars 3 forks source link

note: DMA vs interupt #10

Closed pinggit closed 4 years ago

pinggit commented 4 years ago

as explained well in page ch2/page 7, these 2 were different things. interrupt mode can also have DMA. it is the polling mode that avoids the dependence on interrupt.

ldurandadomia commented 4 years ago

Yes, DMA is a memory transfer method.

both interrupt and polling modes are using DMA to copy packets between NIC cards and host memory. The difference is :

To sum up: