[dpdk-dev] [PATCH 3/3] pcap: add byte and error counters into statistics

2015-02-27 Thread Tero Aho
Added input/ouput byte counters into pcap interface statistics, also calls pcap_stats to add dropped packets into input errors. Signed-off-by: Tero Aho --- lib/librte_pmd_pcap/rte_eth_pcap.c | 37 + 1 file changed, 29 insertions(+), 8 deletions(-) diff --git

[dpdk-dev] [PATCH 2/3] pcap: add support for jumbo frames

2015-02-27 Thread Tero Aho
Extend eth_pcap_rx and eth_pcap_tx to support jumbo frames. On receive side read large packets into multiple mbufs and on the transmit side do the opposite. Signed-off-by: Tero Aho --- lib/librte_pmd_pcap/rte_eth_pcap.c | 88 -- 1 file changed, 75 insertions

[dpdk-dev] [PATCH 1/3] pcap: utilize underlying real interface properties

2015-02-27 Thread Tero Aho
These changes set pcap interface mac address to the real underlying interface address instead of the default one. Also real interface link status, speed and duplex are reported when eth_link_update is called for the pcap interface. Signed-off-by: Tero Aho --- lib/librte_pmd_pcap/rte_eth_pcap.c

[dpdk-dev] [PATCH 0/3] pcap pmd improvements

2015-02-27 Thread Tero Aho
n top of v1.7.0 (now rebased to current master). Tero Aho (3): pcap: utilize underlying real interface properties pcap: add support for jumbo frames pcap: add byte and error counters into statistics lib/librte_pmd_pcap/rte_eth_pcap.c | 176 +++-- 1 file ch