summaryrefslogtreecommitdiffstats
path: root/src/vnet/buffer.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-09-06 14:24:36 +0200
committerDamjan Marion <dmarion@me.com>2019-09-09 16:22:27 +0000
commit1dafb7fd83b36640557be41e6aa2ea95e663c40b (patch)
tree6bc426f57ea4420c58ccd63317680bbcf34327cb /src/vnet/buffer.c
parent4aef0dd828edf6653ae8377fdc0da6c01db0f9db (diff)
dpdk: initialize rte_mbuf during mempool dequeue
In some cases it may happen that buffer is allocated by DPDK, and freed by VPP native code. In such cases dpdk metadata is not reset, so we need to do that during mempool dequeue. Template approach is taken to reduce cost of that operation. Type: fix Fixes: 910d369 Change-Id: Ic239007cfc8fbceb965021c56963cda9d53f63be Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/buffer.c')
0 files changed, 0 insertions, 0 deletions