Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c273 #define MLX5E_TLS_TX_POOL_BULK (16) macro
298 bulk_async = mlx5e_bulk_async_init(pool->mdev, MLX5E_TLS_TX_POOL_BULK); in create_work()
302 for (i = 0; i < MLX5E_TLS_TX_POOL_BULK; i++) { in create_work()
319 mlx5e_bulk_async_cleanup(bulk_async, MLX5E_TLS_TX_POOL_BULK); in create_work()
324 if (pool->size + MLX5E_TLS_TX_POOL_BULK >= MLX5E_TLS_TX_POOL_HIGH) { in create_work()
329 pool->size += MLX5E_TLS_TX_POOL_BULK; in create_work()
355 if (++i == MLX5E_TLS_TX_POOL_BULK) in destroy_work()
359 pool->size -= MLX5E_TLS_TX_POOL_BULK; in destroy_work()
364 mlx5e_tls_priv_tx_list_cleanup(pool->mdev, &local_list, MLX5E_TLS_TX_POOL_BULK); in destroy_work()
365 atomic64_add(MLX5E_TLS_TX_POOL_BULK, &pool->sw_stats->tx_tls_pool_free); in destroy_work()
[all …]