Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c446 u16 stop_room; in mlx5e_calc_sq_stop_room() local
448 stop_room = mlx5e_ktls_get_stop_room(mdev, params); in mlx5e_calc_sq_stop_room()
449 stop_room += mlx5e_stop_room_for_max_wqe(mdev); in mlx5e_calc_sq_stop_room()
455 stop_room += mlx5e_stop_room_for_mpwqe(mdev); in mlx5e_calc_sq_stop_room()
457 return stop_room; in mlx5e_calc_sq_stop_room()
463 u16 stop_room; in mlx5e_validate_params() local
465 stop_room = mlx5e_calc_sq_stop_room(mdev, params); in mlx5e_validate_params()
466 if (stop_room >= sq_size) { in mlx5e_validate_params()
468 stop_room, sq_size); in mlx5e_validate_params()
999 param->stop_room = mlx5e_calc_sq_stop_room(mdev, params); in mlx5e_build_sq_param()
[all …]
Dxdp.c282 sq->stop_room))) { in mlx5e_xmit_xdp_frame_check_mpwqe()
343 static int mlx5e_xmit_xdp_frame_check_stop_room(struct mlx5e_xdpsq *sq, int stop_room) in mlx5e_xmit_xdp_frame_check_stop_room() argument
345 if (unlikely(!mlx5e_wqc_has_room_for(&sq->wq, sq->cc, sq->pc, stop_room))) { in mlx5e_xmit_xdp_frame_check_stop_room()
390 int stop_room = 1; in mlx5e_xmit_xdp_frame() local
399 stop_room = MLX5E_STOP_ROOM(num_wqebbs); in mlx5e_xmit_xdp_frame()
402 check_result = mlx5e_xmit_xdp_frame_check_stop_room(sq, stop_room); in mlx5e_xmit_xdp_frame()
Dparams.h36 u16 stop_room; member
Dptp.c243 sq->stop_room = param->stop_room; in mlx5e_ptp_alloc_txqsq()
484 param->stop_room = mlx5e_stop_room_for_max_wqe(mdev); in mlx5e_ptp_build_sq_param()
/linux-6.1.9/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(mdev, MLX5E_TLS_SET_STATIC_PARAMS_WQEBBS); in mlx5e_ktls_get_stop_room()
36 stop_room += mlx5e_stop_room_for_wqe(mdev, MLX5E_TLS_SET_PROGRESS_PARAMS_WQEBBS); in mlx5e_ktls_get_stop_room()
37 stop_room += num_dumps * mlx5e_stop_room_for_wqe(mdev, MLX5E_KTLS_DUMP_WQEBBS); in mlx5e_ktls_get_stop_room()
38 stop_room += 1; /* fence nop */ in mlx5e_ktls_get_stop_room()
40 return stop_room; in mlx5e_ktls_get_stop_room()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den.h445 u16 stop_room; member
556 u16 stop_room; member
Den_tx.c344 if (unlikely(!mlx5e_wqc_has_room_for(&sq->wq, sq->cc, sq->pc, sq->stop_room))) { in mlx5e_tx_check_stop()
880 mlx5e_wqc_has_room_for(&sq->wq, sq->cc, sq->pc, sq->stop_room) && in mlx5e_poll_tx_cq()
Den_main.c1309 sq->stop_room = param->is_mpw ? mlx5e_stop_room_for_mpwqe(mdev) : in mlx5e_alloc_xdpsq()
1385 sq->reserved_room = param->stop_room; in mlx5e_alloc_icosq()
1479 sq->stop_room = param->stop_room; in mlx5e_alloc_txqsq()