364e08f2bb
This is a Linux-specific virtual PMD driver backed by an AF_PACKET socket. This implementation uses mmap'ed ring buffers to limit copying and user/kernel transitions. The PACKET_FANOUT_HASH behavior of AF_PACKET is used for frame reception. In the current implementation, Tx and Rx queues are always paired, and therefore are always equal in number -- changing this would be a Simple Matter Of Programming. Interfaces of this type are created with a command line option like "--vdev=eth_af_packet0,iface=...". There are a number of options available as arguments: - Interface is chosen by "iface" (required) - Number of queue pairs set by "qpairs" (optional, default: 1) - AF_PACKET MMAP block size set by "blocksz" (optional, default: 4096) - AF_PACKET MMAP frame size set by "framesz" (optional, default: 2048) - AF_PACKET MMAP frame count set by "framecnt" (optional, default: 512) Signed-off-by: John W. Linville <linville@tuxdriver.com> [Thomas: disable because of incompatibility with some kernels] |
||
---|---|---|
.. | ||
arch | ||
exec-env | ||
internal | ||
machine | ||
target/generic | ||
toolchain | ||
rte.app.mk | ||
rte.bsdmodule.mk | ||
rte.cpuflags.mk | ||
rte.extapp.mk | ||
rte.extlib.mk | ||
rte.extobj.mk | ||
rte.extshared.mk | ||
rte.extsubdir.mk | ||
rte.extvars.mk | ||
rte.gnuconfigure.mk | ||
rte.hostapp.mk | ||
rte.hostlib.mk | ||
rte.install.mk | ||
rte.lib.mk | ||
rte.module.mk | ||
rte.obj.mk | ||
rte.sdkbuild.mk | ||
rte.sdkconfig.mk | ||
rte.sdkdepdirs.mk | ||
rte.sdkdoc.mk | ||
rte.sdkexamples.mk | ||
rte.sdkgcov.mk | ||
rte.sdkinstall.mk | ||
rte.sdkroot.mk | ||
rte.sdktest.mk | ||
rte.sdktestall.mk | ||
rte.shared.mk | ||
rte.sharelib.mk | ||
rte.subdir.mk | ||
rte.vars.mk |