event/cnxk: fix max timer chunk pool cache size
authorShijith Thotton <sthotton@marvell.com>
Mon, 30 Aug 2021 16:14:46 +0000 (21:44 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 21 Oct 2021 08:14:50 +0000 (10:14 +0200)
commit08d681e9c4a0efbef19167716029f54b9c960134
treea7087baf6afd2c90461243b9265e383f1eb3c0b1
parent5fb651552c79597ad7a001b2b240891b6b135888
event/cnxk: fix max timer chunk pool cache size

Reduced max chunk pool cache size from RTE_MEMPOOL_CACHE_MAX_SIZE(512)
to 128.

If chunk pool cache is empty, it gets filled during arm. Filling 512
entries at a time will fail arm if timeout is shorter, hence
reduce the pool cache size.

Fixes: 0e792433d051 ("event/cnxk: create and free timer adapter")
Cc: stable@dpdk.org
Signed-off-by: Shijith Thotton <sthotton@marvell.com>
drivers/event/cnxk/cnxk_tim_evdev.c
drivers/event/cnxk/cnxk_tim_evdev.h