diff options
author | Damjan Marion <damarion@cisco.com> | 2016-11-15 12:50:28 +0100 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-11-22 22:11:12 +0000 |
commit | 22766b824d5b243c7353df0d80e73a50aa9f73ff (patch) | |
tree | 2fa04fff2e06c498bafa72d92ecb3a02ed876b2c /vpp-api-test | |
parent | 177bbdcd8fa4e7621c5bdd3afd8c6e74b603e096 (diff) |
dpdk: quad loop dpdk tx and code optimizations
Beside performance optimization this change
also introduces rte_mbuf validation in dpdk tx code.
If packet is arrving from non-DPDK source like
self-originated packets or non-dpdk devices (tuntap,
af_packet, netmap, pg) it is not anymore exepcted
that it contains valid rte_mbuf metadata unless it is
explictely stated by setting VNET_BUFFER_RTE_MBUF_VALID
flag.
dpdk-input node sets VNET_BUFFER_RTE_MBUF_VALID on all
packets and that reduces cost of validation in tx node.
Change-Id: I4ad40f398f7b5cf90656a2069a27c0f6fc13efba
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vpp-api-test')
0 files changed, 0 insertions, 0 deletions