From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id D8EB4C35E for ; Wed, 17 Feb 2016 12:11:32 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 17 Feb 2016 03:11:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,460,1449561600"; d="scan'208";a="653495210" Received: from sie-lab-212-033.ir.intel.com (HELO silpixa00383881.ir.intel.com) ([10.237.212.33]) by FMSMGA003.fm.intel.com with ESMTP; 17 Feb 2016 03:11:31 -0800 From: Fan Zhang To: dev@dpdk.org Date: Wed, 17 Feb 2016 11:11:26 +0000 Message-Id: <1455707490-13826-1-git-send-email-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.5.0 Subject: [dpdk-dev] [PATCH v2 0/4] Add PCAP support to source and sink port X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 11:11:33 -0000 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. 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_bsdapp | 1 + config/common_linuxapp | 1 + examples/ip_pipeline/app.h | 4 + examples/ip_pipeline/config_parse.c | 261 +++++++++++++++++++- examples/ip_pipeline/init.c | 22 ++ examples/ip_pipeline/pipeline_be.h | 2 + lib/librte_port/Makefile | 4 + lib/librte_port/rte_port_source_sink.c | 430 ++++++++++++++++++++++++++++++++- lib/librte_port/rte_port_source_sink.h | 18 +- mk/rte.app.mk | 1 + 10 files changed, 739 insertions(+), 5 deletions(-) -- 2.5.0