Searched refs:stop_room (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.c | 446 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 …]
|
D | xdp.c | 282 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()
|
D | params.h | 36 u16 stop_room; member
|
D | ptp.c | 243 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/ |
D | ktls_tx.c | 28 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/ |
D | en.h | 445 u16 stop_room; member 556 u16 stop_room; member
|
D | en_tx.c | 344 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()
|
D | en_main.c | 1309 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()
|