Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A 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()
353 atomic64_add(MLX5E_TLS_TX_POOL_BULK, &pool->sw_stats->tx_tls_pool_free); in destroy_work()
389 while (pool->size > MLX5E_TLS_TX_POOL_BULK) { in mlx5e_tls_tx_pool_list_cleanup()
395 if (++i == MLX5E_TLS_TX_POOL_BULK) in mlx5e_tls_tx_pool_list_cleanup()
[all …]