title: Capture packet with DPDK
body: <p>I use dpdk to capture packet:</p>
  
  <pre><code>$RTE_TARGET/app/testpmd -c '0xf' -n 4 --vdev 'eth_pcap0,rx_iface=eth0,tx_pcap=/path/to/file_tx.pcap' -- --port-topology=chained
  </code></pre>
  
  <p>eth0: using kernel driver.
  I don't known stream of packet.</p>
  
  <pre><code>NICs---&gt;Linux kernel---&gt; Application 
  </code></pre>
  
  <p>or</p>
  
  <pre><code>NICs---&gt;DPDK library---&gt; Application
  </code></pre>