From: Fan Zhang <roy.fan.zhang@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH v4 0/4] Add PCAP support to source and sink port
Date: Fri, 11 Mar 2016 17:08:06 +0000 [thread overview]
Message-ID: <1457716090-26742-1-git-send-email-roy.fan.zhang@intel.com> (raw)
In-Reply-To: <1457539652-17337-1-git-send-email-roy.fan.zhang@intel.com>
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.
v4:
*fixed compile issue when RTE_NEXT_ABI is disabled
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 <cristian.dumitrescu@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_base | 1 +
examples/ip_pipeline/app.h | 6 +-
examples/ip_pipeline/config_parse.c | 291 ++++++++++++++++++-
examples/ip_pipeline/init.c | 35 ++-
examples/ip_pipeline/pipeline_be.h | 4 +-
lib/librte_port/Makefile | 10 +-
lib/librte_port/rte_port_source_sink.c | 501 ++++++++++++++++++++++++++++++++-
lib/librte_port/rte_port_source_sink.h | 24 +-
mk/rte.app.mk | 5 +
9 files changed, 865 insertions(+), 12 deletions(-)
--
2.5.0
next prev parent reply other threads:[~2016-03-11 17:08 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-17 11:11 [dpdk-dev] [PATCH v2 " Fan Zhang
2016-02-17 11:11 ` [dpdk-dev] [PATCH v2 1/4] lib/librte_port: add PCAP file support to source port Fan Zhang
2016-03-07 11:17 ` Thomas Monjalon
2016-03-08 8:36 ` Dumitrescu, Cristian
2016-03-08 9:06 ` Panu Matilainen
2016-03-08 10:14 ` Thomas Monjalon
2016-02-17 11:11 ` [dpdk-dev] [PATCH v2 2/4] example/ip_pipeline: add PCAP file support Fan Zhang
2016-02-17 11:11 ` [dpdk-dev] [PATCH v2 3/4] lib/librte_port: add packet dumping to PCAP file support in sink port Fan Zhang
2016-02-17 11:11 ` [dpdk-dev] [PATCH v2 4/4] examples/ip_pipeline: add packets dumping to PCAP file support Fan Zhang
2016-03-09 16:07 ` [dpdk-dev] [PATCH v3 0/4] Add PCAP support to source and sink port Fan Zhang
2016-03-09 16:07 ` [dpdk-dev] [PATCH v3 1/4] lib/librte_port: add PCAP file support to source port Fan Zhang
2016-03-09 16:07 ` [dpdk-dev] [PATCH v3 2/4] example/ip_pipeline: add PCAP file support Fan Zhang
2016-03-11 11:10 ` Thomas Monjalon
2016-03-25 12:00 ` Zhang, Roy Fan
2016-03-09 16:07 ` [dpdk-dev] [PATCH v3 3/4] lib/librte_port: add packet dumping to PCAP file support in sink port Fan Zhang
2016-03-09 16:07 ` [dpdk-dev] [PATCH v3 4/4] examples/ip_pipeline: add packets dumping to PCAP file support Fan Zhang
2016-03-11 17:08 ` Fan Zhang [this message]
2016-03-11 17:08 ` [dpdk-dev] [PATCH v4 1/4] lib/librte_port: add PCAP file support to source port Fan Zhang
2016-03-11 17:08 ` [dpdk-dev] [PATCH v4 2/4] example/ip_pipeline: add PCAP file support Fan Zhang
2016-03-11 17:08 ` [dpdk-dev] [PATCH v4 3/4] lib/librte_port: add packet dumping to PCAP file support in sink port Fan Zhang
2016-03-11 17:08 ` [dpdk-dev] [PATCH v4 4/4] examples/ip_pipeline: add packets dumping to PCAP file support Fan Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1457716090-26742-1-git-send-email-roy.fan.zhang@intel.com \
--to=roy.fan.zhang@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).