]> git.droids-corp.org - dpdk.git/commit
examples/ipsec-secgw: add option for descriptors per QP
authorVolodymyr Fialko <vfialko@marvell.com>
Thu, 9 Jun 2022 13:01:29 +0000 (15:01 +0200)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 21 Jun 2022 18:04:49 +0000 (20:04 +0200)
commit5401bdc17b505087407b826341bba1b2779110ab
tree563246bc883836fde09082f1a7bdedeb782f8d10
parent3e534bc81a5479e90b76471ebe1ba4de80a68374
examples/ipsec-secgw: add option for descriptors per QP

Added option to configure number of queue pair descriptors via command
line (--desc-nb NUMBER_OF_DESC).

When the crypto processing takes longer durations, small queue pair size
would result in cryptodev enqueue failures. Larger queue pair size would
allow more packets to stay in flight simultaneously and reduce enqueue
failures.

Signed-off-by: Volodymyr Fialko <vfialko@marvell.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
doc/guides/sample_app_ug/ipsec_secgw.rst
examples/ipsec-secgw/ipsec-secgw.c