Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c175 u16 stop_room; in mlx5e_calc_sq_stop_room() local
177 stop_room = mlx5e_tls_get_stop_room(mdev, params); in mlx5e_calc_sq_stop_room()
178 stop_room += mlx5e_stop_room_for_wqe(MLX5_SEND_WQE_MAX_WQEBBS); in mlx5e_calc_sq_stop_room()
184 stop_room += mlx5e_stop_room_for_wqe(MLX5_SEND_WQE_MAX_WQEBBS); in mlx5e_calc_sq_stop_room()
186 return stop_room; in mlx5e_calc_sq_stop_room()
192 u16 stop_room; in mlx5e_validate_params() local
194 stop_room = mlx5e_calc_sq_stop_room(mdev, params); in mlx5e_validate_params()
195 if (stop_room >= sq_size) { in mlx5e_validate_params()
197 stop_room, sq_size); in mlx5e_validate_params()
590 param->stop_room = mlx5e_calc_sq_stop_room(mdev, params); in mlx5e_build_sq_param()
[all …]
Dparams.h34 u16 stop_room; member
Dxdp.c248 const u16 stop_room = mlx5e_stop_room_for_wqe(MLX5_SEND_WQE_MAX_WQEBBS); in mlx5e_xmit_xdp_frame_check_mpwqe() local
251 stop_room))) { in mlx5e_xmit_xdp_frame_check_mpwqe()
Dptp.c216 sq->stop_room = param->stop_room; in mlx5e_ptp_alloc_txqsq()
454 param->stop_room = mlx5e_stop_room_for_wqe(MLX5_SEND_WQE_MAX_WQEBBS); in mlx5e_ptp_build_sq_param()
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c28 u16 num_dumps, stop_room = 0; in mlx5e_ktls_get_stop_room() local
35 stop_room += mlx5e_stop_room_for_wqe(MLX5E_TLS_SET_STATIC_PARAMS_WQEBBS); in mlx5e_ktls_get_stop_room()
36 stop_room += mlx5e_stop_room_for_wqe(MLX5E_TLS_SET_PROGRESS_PARAMS_WQEBBS); in mlx5e_ktls_get_stop_room()
37 stop_room += num_dumps * mlx5e_stop_room_for_wqe(MLX5E_KTLS_DUMP_WQEBBS); in mlx5e_ktls_get_stop_room()
39 return stop_room; in mlx5e_ktls_get_stop_room()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c426 if (unlikely(!mlx5e_wqc_has_room_for(&sq->wq, sq->cc, sq->pc, sq->stop_room))) { in mlx5e_tx_check_stop()
816 mlx5e_wqc_has_room_for(&sq->wq, sq->cc, sq->pc, sq->stop_room) && in mlx5e_txqsq_wake()
Den.h397 u16 stop_room; member
Den_main.c1059 sq->reserved_room = param->stop_room; in mlx5e_alloc_icosq()
1153 sq->stop_room = param->stop_room; in mlx5e_alloc_txqsq()