[PATCH v5 3/5] event/dlb2: enhance DLB credit handling
Jerin Jacob
jerinjacobk at gmail.com
Thu Jun 20 14:09:28 CEST 2024
On Thu, Jun 20, 2024 at 2:31 AM Abdullah Sevincer
<abdullah.sevincer at intel.com> wrote:
>
> This commit improves DLB credit handling scenarios when
> ports hold on to credits but can't release them due to insufficient
> accumulation (less than 2 * credit quanta).
>
> Worker ports now release all accumulated credits when back-to-back
> zero poll count reaches preset threshold.
>
> Producer ports release all accumulated credits if enqueue fails for a
> consecutive number of retries.
>
> All newly introduced compilation flags are in the fastpath.
>
> Signed-off-by: Abdullah Sevincer <abdullah.sevincer at intel.com>
> ---
> drivers/event/dlb2/dlb2.c | 322 +++++++++++++++++++++++++++------
> drivers/event/dlb2/dlb2_priv.h | 1 +
> drivers/event/dlb2/meson.build | 40 ++++
> meson_options.txt | 2 +
+ @Richardson, Bruce @Thomas Monjalon @David Marchand @Ferruh Yigit
It is not allowed to add PMD specific build options in generic DPDK
build options. Please check with Bruce.
You may use scheme like
https://patches.dpdk.org/project/dpdk/patch/20240522192139.3016-1-pbhagavatula@marvell.com/
or if we think, we need to standardize the PMD compilation options,
then we can do that as well.
More information about the dev
mailing list