Hi,

From: Itamar Gozlan <igoz...@nvidia.com>
Sent: Tuesday, October 29, 2024 3:24 PM
To: Itamar Gozlan; Erez Shitrit; Bing Zhao; NBU-Contact-Thomas Monjalon 
(EXTERNAL); Suanming Mou; Dariusz Sosnowski; Slava Ovsiienko; Ori Kam; Matan 
Azrad; Alex Vesker
Cc: dev@dpdk.org; sta...@dpdk.org
Subject: [PATCH] net/mlx5/hws: fix allocation of STCs

From: Erez Shitrit <ere...@nvidia.com>

STC is a limited resource of the HW, and might get consumed till no more
contexts can be opened.
So, let the user to define the size of how many STCs to allocate per
context.
In case the user has many representors, no need to allocate per each of
them the default value of STCs, otherwise after a certain numbers of
representors no more STC's will remain in the system.

Fixes: b0290e56dd08 ("net/mlx5/hws: add context object")
Cc: sta...@dpdk.org

Signed-off-by: Erez Shitrit <ere...@nvidia.com>
Signed-off-by: Bing Zhao <bi...@nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnow...@nvidia.com>


Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to