DPDK pkt mempool cache size can be 1

Suricata: 8.0.5

Problem:
DPDK q_mp_cache_sz can be 1 when q_mp_sz is 8191.

Suricata Log:
Info: dpdk: 0000:00:08.0: creating 1 packet mempools of size 8191, cache size 1, mbuf size 2176
Config: dpdk: 0000:00:08.0: setting up RX queue 0: rx_desc: 4096 offloads: 0x0 hthresh: 0 pthresh: 0 wthresh: 0 free_thresh: 0 drop_en: 0
Config: dpdk: 0000:00:08.0: setting up TX queue 0: tx_desc: 4096 tx: offloads: 0x0 hthresh: 0 pthresh: 0 wthresh: 0 tx_free_thresh: 0 tx_rs_thresh: 0 txq_deferred_start: 0

Suricata yaml dpdk config:
dpdk:
eal-params:
a: 0000:00:08.0

interfaces:

  • interface: 0000:00:08.0
    threads: 1
    promisc: true
    multicast: true
    checksum-checks: true
    checksum-checks-offload: true
    mtu: 1500
    mempool-size: auto
    mempool-cache-size: auto
    rx-descriptors: 4096
    tx-descriptors: 4096
    copy-mode: none
    copy-iface: none