This patchset adds feature to source and sink type port in librte_port library, and to examples/ip_pipline. Originally, source/sink ports act as input and output of NULL packets generator. This patchset enables them read from and write to specific PCAP file, to generate and dump packets.
Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com> Fan Zhang (4): lib/librte_port: add PCAP file support to source port example/ip_pipeline: add PCAP file support lib/librte_port: add packet dumping to PCAP file support in sink port examples/ip_pipeline: add packets dumping to PCAP file support config/common_bsdapp | 1 + config/common_linuxapp | 1 + examples/ip_pipeline/app.h | 4 + examples/ip_pipeline/config_parse.c | 261 ++++++++++++++++++- examples/ip_pipeline/init.c | 19 ++ examples/ip_pipeline/pipeline_be.h | 2 + lib/librte_port/Makefile | 4 + lib/librte_port/rte_port_source_sink.c | 458 +++++++++++++++++++++++++++++++-- lib/librte_port/rte_port_source_sink.h | 18 +- mk/rte.app.mk | 1 + 10 files changed, 751 insertions(+), 18 deletions(-) -- 2.5.0