Skip to content

DPDK mbuf allocation failures (rx_nombuf counter) #252

@Lukas955

Description

@Lukas955

Some network drivers (e.g. mlx5) report allocation errors by incrementing the rx_nombuf counter in devstats port statistics if there are no free packets in the RX mempool to be assigned to the NIC. Although it seems that under normal conditions this does not affect traffic processing and packets are not lost, it is advisable to deal with this situation.

As a suitable solution seems to be to ensure that the mempool size will always be 2x the size of the RX queue (between the card and the software).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions