Home
last modified time | relevance | path

Searched refs:MLX5_SEND_WQE_MAX_WQEBBS (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtxrx.h12 /* The mult of MLX5_SEND_WQE_MAX_WQEBBS * MLX5_SEND_WQEBB_NUM_DS
14 * We use a bound lower that MLX5_SEND_WQE_MAX_WQEBBS to let a
18 #define MLX5E_TX_MPW_MAX_WQEBBS (MLX5_SEND_WQE_MAX_WQEBBS - 1)
20 #define MLX5E_TX_MPW_MAX_WQEBBS (MLX5_SEND_WQE_MAX_WQEBBS - 2)
413 BUILD_BUG_ON(PAGE_SIZE / MLX5_SEND_WQE_BB < MLX5_SEND_WQE_MAX_WQEBBS); in mlx5e_stop_room_for_wqe()
425 BUILD_BUG_ON(wqe_size > MLX5_SEND_WQE_MAX_WQEBBS); in mlx5e_stop_room_for_wqe()
427 WARN_ON_ONCE(wqe_size > MLX5_SEND_WQE_MAX_WQEBBS); in mlx5e_stop_room_for_wqe()
H A Dxdp.c248 const u16 stop_room = mlx5e_stop_room_for_wqe(MLX5_SEND_WQE_MAX_WQEBBS); in mlx5e_xmit_xdp_frame_check_mpwqe()
/kernel/linux/linux-6.6/include/linux/mlx5/
H A Dqp.h162 MLX5_SEND_WQE_MAX_WQEBBS = 16, enumerator
165 #define MLX5_SEND_WQE_MAX_SIZE (MLX5_SEND_WQE_MAX_WQEBBS * MLX5_SEND_WQE_BB)
/kernel/linux/linux-5.10/include/linux/mlx5/
H A Dqp.h162 MLX5_SEND_WQE_MAX_WQEBBS = 16, enumerator
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h205 BUILD_BUG_ON(MLX5_SEND_WQE_MAX_WQEBBS > U8_MAX); in mlx5e_get_max_sq_wqebbs()
207 return (u8)min_t(u16, MLX5_SEND_WQE_MAX_WQEBBS, in mlx5e_get_max_sq_wqebbs()
214 * Since max_sq_wqebbs may be up to MLX5_SEND_WQE_MAX_WQEBBS == 16, in mlx5e_get_max_sq_aligned_wqebbs()
217 * than MLX5_SEND_WQE_MAX_WQEBBS to let a full-session WQE be in mlx5e_get_max_sq_aligned_wqebbs()
222 wqebbs = min_t(u8, wqebbs, MLX5_SEND_WQE_MAX_WQEBBS - 1); in mlx5e_get_max_sq_aligned_wqebbs()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dtls_rxtx.c400 return mlx5e_stop_room_for_wqe(MLX5_SEND_WQE_MAX_WQEBBS); in mlx5e_tls_get_stop_room()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c1140 sq->stop_room += mlx5e_stop_room_for_wqe(MLX5_SEND_WQE_MAX_WQEBBS); in mlx5e_calc_sq_stop_room()
1146 sq->stop_room += mlx5e_stop_room_for_wqe(MLX5_SEND_WQE_MAX_WQEBBS); in mlx5e_calc_sq_stop_room()

Completed in 15 milliseconds