numam-dpdk/doc/guides/nics
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
..
features net/hinic: add build and doc files 2019-06-28 20:31:49 +02:00
img net/mvpp2: document MTR and TM usage 2018-09-28 01:41:03 +02:00
af_packet.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
af_xdp.rst net/af_xdp: support multi-queue 2019-06-13 23:54:30 +09:00
ark.rst net/ark: remove empty header file 2017-10-06 02:49:47 +02:00
atlantic.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
avp.rst doc: add AVP 2017-04-04 19:02:45 +02:00
axgbe.rst doc: fix spelling in PMD guides 2018-10-26 22:14:05 +02:00
bnx2x.rst net/bnx2x: make init and driver logtype names consistent 2018-04-27 15:54:56 +01:00
bnxt.rst net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
build_and_test.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
cxgbe.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
dpaa2.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
dpaa.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
e1000em.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
ena.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
enetc.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
enic.rst net/enic: remove flow count action support 2019-06-14 00:01:06 +09:00
fail_safe.rst use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
features.rst ethdev: add API to read device clock 2019-06-06 20:21:20 +09:00
fm10k.rst ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
hinic.rst net/hinic: add build and doc files 2019-06-28 20:31:49 +02:00
i40e.rst doc: update recommended kernel version for i40e 2019-05-10 01:10:45 +02:00
ice.rst doc: update ice guide for MDD 2019-05-03 18:45:22 +02:00
ifc.rst doc: fix ifc naming 2019-01-18 09:47:26 +01:00
igb.rst doc: add igb guide 2018-02-08 18:42:14 +01:00
index.rst net/hinic: add build and doc files 2019-06-28 20:31:49 +02:00
intel_vf.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
ipn3ke.rst net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
ixgbe.rst net/ixgbevf: add full link status check option 2019-06-14 00:01:06 +09:00
kni.rst net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
liquidio.rst doc: remove invalid config options from liquidio guide 2018-10-18 10:24:39 +02:00
memif.rst net/memif: introduce memory interface PMD 2019-06-13 23:54:29 +09:00
mlx4.rst doc: update Mellanox guides and release notes 2019-05-13 21:09:04 +02:00
mlx5.rst net/mlx5: add log file procedure for debug data 2019-06-14 00:01:06 +09:00
mvneta.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
mvpp2.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
netvsc.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
nfb.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
nfp.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
octeontx.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
overview.rst use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
pcap_ring.rst net/pcap: enable infinitely Rx a pcap file 2019-06-28 20:32:18 +02:00
qede.rst doc: update qede firmware version 2018-11-22 10:31:52 +01:00
sfc_efx.rst net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
softnic.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
szedata2.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
tap.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
thunderx.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
vdev_netvsc.rst doc: fix typo in vdev_netvsc guide 2018-07-26 22:56:51 +02:00
vhost.rst net/vhost: add parameter to enable postcopy 2018-10-18 10:24:39 +02:00
virtio.rst doc: fix spelling in PMD guides 2018-10-26 22:14:05 +02:00
vmxnet3.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00