diff options
author | Piotr Bronowski <piotrx.bronowski@intel.com> | 2023-09-14 17:41:13 +0000 |
---|---|---|
committer | Fan Zhang <fanzhang.oss@gmail.com> | 2023-09-28 15:07:52 +0000 |
commit | 7cc17f6df9b3f4b45aaac16ba0aa098d6cd58794 (patch) | |
tree | d57a4ff4b081b671ad8808231bf172c08cbcba4d /test/test_stats_client.py | |
parent | 029f039d5d5022d536d2085993a9b7671d898767 (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
Diffstat (limited to 'test/test_stats_client.py')
0 files changed, 0 insertions, 0 deletions