From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fan Zhang Subject: [PATCH v3 0/4] Add PCAP support to source and sink port Date: Wed, 9 Mar 2016 16:07:28 +0000 Message-ID: <1457539652-17337-1-git-send-email-roy.fan.zhang@intel.com> References: <1455707490-13826-1-git-send-email-roy.fan.zhang@intel.com> To: dev@dpdk.org Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 87E342E81 for ; Wed, 9 Mar 2016 17:08:30 +0100 (CET) In-Reply-To: <1455707490-13826-1-git-send-email-roy.fan.zhang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. v3: *added RTE_NEXT_ABI macro to source port *updated to fit ip_pipeline configuration new code style v2: *fixed source/sink open function returns *removed duplicated code *added clearer error message display on different error messages Acked-by: Cristian Dumitrescu 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_base | 1 + examples/ip_pipeline/app.h | 6 +- examples/ip_pipeline/config_parse.c | 291 ++++++++++++++++++- examples/ip_pipeline/init.c | 29 +- examples/ip_pipeline/pipeline_be.h | 4 +- lib/librte_port/Makefile | 10 +- lib/librte_port/rte_port_source_sink.c | 499 ++++++++++++++++++++++++++++++++- lib/librte_port/rte_port_source_sink.h | 24 +- mk/rte.app.mk | 5 + 9 files changed, 857 insertions(+), 12 deletions(-) -- 2.5.0