numam-dpdk/doc/guides
Cian Ferriter a3f5252e5c net/pcap: enable infinitely Rx a pcap file
It can be useful to use pcap files for some rudimental performance
testing. This patch enables this functionality in the pcap driver.

At a high level, this works by creating a ring of sufficient size to
store the packets in the pcap file passed to the application. When the
rx function for this mode is called, packets are dequeued from the ring
for use by the application and also enqueued back on to the ring to be
"received" again.

A tx_drop mode is also added since transmitting to a tx_pcap file isn't
desirable at a high traffic rate.

Jumbo frames are not supported in this mode. When filling the ring at rx
queue setup time, the presence of multi segment mbufs is checked for.
The PMD will exit on detection of these multi segment mbufs.

Signed-off-by: Cian Ferriter <cian.ferriter@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-06-28 20:32:18 +02:00
..
bbdevs bb/turbo_sw: update for FlexRAN 18.09 2018-12-19 11:19:10 +01:00
compressdevs doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
contributing remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
cryptodevs doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
eventdevs doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
faq doc: update preferred log level syntax in guides 2018-04-25 12:16:50 +02:00
freebsd_gsg mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
howto doc: fix typos in flow API guide 2019-06-28 20:32:18 +02:00
linux_gsg doc: fix Linux guide for arm64 cross-compilation 2019-06-05 12:32:43 +02:00
mempool doc: add Marvell OCTEON TX2 mempool guide 2019-06-25 23:35:57 +02:00
nics net/pcap: enable infinitely Rx a pcap file 2019-06-28 20:32:18 +02:00
platform doc: add Marvell OCTEON TX2 mempool guide 2019-06-25 23:35:57 +02:00
prog_guide doc: fix typo in EAL guide 2019-06-17 12:35:54 +03:00
rawdevs doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
rel_notes net/hinic: add build and doc files 2019-06-28 20:31:49 +02:00
sample_app_ug examples/l3fwd-power: add telemetry mode 2019-06-28 11:50:24 +02:00
testpmd_app_ug doc: fix formatting in testpmd guide 2019-05-10 00:19:31 +02:00
tools doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
windows_gsg doc: fix helloworld build on Windows 2019-05-29 13:02:55 +02:00
conf.py doc: clean PDF config 2019-05-29 13:03:22 +02:00
custom.css doc: improve HTML spacing in release notes 2018-02-14 00:23:25 +01:00
index.rst doc: add guide for Windows 2019-04-03 01:21:31 +02:00
meson.build doc: support building HTML guides with meson 2018-10-27 23:24:22 +02:00