pcap: set port id in received mbuf
authorSaori Usami <susami@igel.co.jp>
Fri, 5 Sep 2014 10:10:36 +0000 (19:10 +0900)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 29 Sep 2014 14:34:50 +0000 (16:34 +0200)
commite35d434667f7832ed96a10386bbf8bf71afbeaaf
treef78d8cd66b59453cb12168d33a7527c0c3f56c99
parentb10eef348d1a2919e0b1cc06743256a73548da63
pcap: set port id in received mbuf

The port parameter in mbuf should be set with an input port id
because DPDK apps may use it to know where each packet came from.

Signed-off-by: Saori Usami <susami@igel.co.jp>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_pmd_pcap/rte_eth_pcap.c