aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorYevgeny Kliteynik <[email protected]>2022-03-29 15:21:02 +0300
committerSaeed Mahameed <[email protected]>2022-10-27 15:50:39 +0100
commit17b56073a0668a153f0e1051dc1bf60960f74810 (patch)
treecae440b60f982eed115bc6ec036147955337bf48 /net/unix/sysctl_net_unix.c
parent1bea2dc7f4ff30bd785e1949d237cd2ce1e87c4f (diff)
net/mlx5: DR, Manage STE send info objects in pool
Instead of allocating/freeing send info objects dynamically, manage them in pool. The number of send info objects doesn't depend on rules, so after pre-populating the pool with an initial batch of send info objects, the pool is not expected to grow. This way we save alloc/free during writing STEs to ICM, which can sometimes take up to 40msec. Signed-off-by: Yevgeny Kliteynik <[email protected]> Reviewed-by: Alex Vesker <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions