Project

General

Profile

Actions

Bug #8301

open

dpdk: TX descriptors should be set to positive values >= 64

Added by Lukas Sismis 1 day ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Certain NICs in DPDK seem to require setting at least some number of TX descriptors.
Even though it was not the case for previous DPDK versions, since DPDK 26.03 (current dev version) the MLX5 driver fails to start with 0 descriptors configured. With 0<N<33 descriptors configured, the driver internally automatically bumps the descriptor count to 64.

The problem has been reported but not acknowledged yet.
https://bugs.dpdk.org/show_bug.cgi?id=1879

The solution could be to proactively avoid the situation by setting a small number of TX descriptors even for IDS deployments.
This is especially true for "auto" setting, in which Suricata tries to be the best-effort best configuration and fails to start as it configures 0 TX descriptors.

Backport to 7 is not considered as it doesn't have "auto" setting.


Subtasks 1 (1 open0 closed)

Bug #8302: dpdk: TX descriptors should be set to positive values >= 64 (8.0.x backport)AssignedLukas SismisActions
Actions

Also available in: Atom PDF