[dpdk-dev] [PATCH v2 1/4] lib/librte_port: add PCAP file support to source port

2016-03-08 Thread Thomas Monjalon
2016-03-08 08:36, Dumitrescu, Cristian: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > If this struct is used in a table, changing its size will break the ABI. > > This structure is already present in the API of the source port in file > librte_port/rte_port_source_sink.h,

[dpdk-dev] [PATCH v2 1/4] lib/librte_port: add PCAP file support to source port

2016-03-08 Thread Panu Matilainen
itrescu, >> Cristian >> Subject: Re: [dpdk-dev] [PATCH v2 1/4] lib/librte_port: add PCAP file support >> to source port >> >> 2016-02-17 11:11, Fan Zhang: >>> --- a/lib/librte_port/rte_port_source_sink.h >>> +++ b/lib/librte_port/rte_port_s

[dpdk-dev] [PATCH v2 1/4] lib/librte_port: add PCAP file support to source port

2016-03-08 Thread Dumitrescu, Cristian
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, March 7, 2016 11:18 AM > To: Zhang, Roy Fan > Cc: dev at dpdk.org; Panu Matilainen ; Dumitrescu, > Cristian > Subject: Re: [dpdk-dev] [PATCH v2 1/4] lib/librte_port:

[dpdk-dev] [PATCH v2 1/4] lib/librte_port: add PCAP file support to source port

2016-03-07 Thread Thomas Monjalon
2016-02-17 11:11, Fan Zhang: > --- a/lib/librte_port/rte_port_source_sink.h > +++ b/lib/librte_port/rte_port_source_sink.h > @@ -53,6 +53,13 @@ extern "C" { > struct rte_port_source_params { > /** Pre-initialized buffer pool */ > struct rte_mempool *mempool; > + /** The full

[dpdk-dev] [PATCH v2 1/4] lib/librte_port: add PCAP file support to source port

2016-02-17 Thread Fan Zhang
Originally, source ports in librte_port is an input port used as packet generator. Similar to Linux kernel /dev/zero character device, it generates null packets. This patch adds optional PCAP file support to source port: instead of sending NULL packets, the source port generates packets copied