diff options
author | Piotr Bronowski <piotrx.bronowski@intel.com> | 2023-09-14 17:41:13 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2023-10-25 17:18:40 +0000 |
commit | 74209bac286d10d39b9fa6f3e673ff89713e734f (patch) | |
tree | 2e342c5bb9cd28b2cc2426abb2663ce4cc503cd2 /src/plugins/snort/daq_vpp.h | |
parent | 7c4027fa5e42a8cc7176cd62ab7a0043fb1933ff (diff) |
dpdk-cryptodev: improve dequeue behavior, fix cache stats logging
This patch provides minor improvements to the logic governing dequeuing
from the ring. Previously whenever a frame was dequeued
we've been trying to dequeue from the ring another one till
inflight == 0. Now threshold is set for 8 frames pending in the cache
to be consumed by the vnet. This threshold has been chosen based on
cache ring stats observation in the system under load.
Some unnecessary logic for setting deq_tail has been removed.
Also logging has been corrected, and cache ring logic simplied.
Type: improvement
Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com>
Change-Id: I19f3daf5913006e9cb23e142a163f596e85f5bda
(cherry picked from commit 7cc17f6df9b3f4b45aaac16ba0aa098d6cd58794)
Diffstat (limited to 'src/plugins/snort/daq_vpp.h')
0 files changed, 0 insertions, 0 deletions