Home
last modified time | relevance | path

Searched refs:MLX5E_TLS_TX_POOL_BULK (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c262 #define MLX5E_TLS_TX_POOL_BULK (16) macro
287 bulk_async = mlx5e_bulk_async_init(pool->mdev, MLX5E_TLS_TX_POOL_BULK); in create_work()
291 for (i = 0; i < MLX5E_TLS_TX_POOL_BULK; i++) { in create_work()
312 if (pool->size + MLX5E_TLS_TX_POOL_BULK >= MLX5E_TLS_TX_POOL_HIGH) { in create_work()
317 pool->size += MLX5E_TLS_TX_POOL_BULK; in create_work()
343 if (++i == MLX5E_TLS_TX_POOL_BULK) in destroy_work()
347 pool->size -= MLX5E_TLS_TX_POOL_BULK; in destroy_work()
352 mlx5e_tls_priv_tx_list_cleanup(pool->mdev, &local_list, MLX5E_TLS_TX_POOL_BULK); in destroy_work()
353 atomic64_add(MLX5E_TLS_TX_POOL_BULK, &pool->sw_stats->tx_tls_pool_free); in destroy_work()
361 BUILD_BUG_ON(MLX5E_TLS_TX_POOL_LOW + MLX5E_TLS_TX_POOL_BULK >= MLX5E_TLS_TX_POOL_HIGH); in mlx5e_tls_tx_pool_init()
[all …]