Project

General

Profile

Actions

Bug #8301

open
LS LS

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

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

Added by Lukas Sismis about 1 month ago. Updated 22 days 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

OT Updated by OISF Ticketbot about 1 month ago Actions #1

  • Subtask #8302 added

OT Updated by OISF Ticketbot about 1 month ago Actions #2

  • Label deleted (Needs backport to 8.0)

LS Updated by Lukas Sismis 22 days ago Actions #3

Considering the problem seems to be present in DPDK 25.11 too, I consider including this in the upcoming release.

Actions

Also available in: PDF Atom