Searched refs:stop_room (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | params.c | 488 u16 stop_room; in mlx5e_calc_sq_stop_room() local 490 stop_room = mlx5e_ktls_get_stop_room(mdev, params); in mlx5e_calc_sq_stop_room() 491 stop_room += mlx5e_stop_room_for_max_wqe(mdev); in mlx5e_calc_sq_stop_room() 497 stop_room += mlx5e_stop_room_for_mpwqe(mdev); in mlx5e_calc_sq_stop_room() 499 return stop_room; in mlx5e_calc_sq_stop_room() 505 u16 stop_room; in mlx5e_validate_params() local 507 stop_room = mlx5e_calc_sq_stop_room(mdev, params); in mlx5e_validate_params() 508 if (stop_room >= sq_size) { in mlx5e_validate_params() 510 stop_room, sq_size); in mlx5e_validate_params() 1013 param->stop_room = mlx5e_calc_sq_stop_room(mdev, params); in mlx5e_build_sq_param() [all …]
|
H A D | xdp.c | 432 sq->stop_room))) { in mlx5e_xmit_xdp_frame_check_mpwqe() 511 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 513 if (unlikely(!mlx5e_wqc_has_room_for(&sq->wq, sq->cc, sq->pc, stop_room))) { in mlx5e_xmit_xdp_frame_check_stop_room() 570 int stop_room = 1; in mlx5e_xmit_xdp_frame() local 579 stop_room = MLX5E_STOP_ROOM(num_wqebbs); in mlx5e_xmit_xdp_frame() 582 check_result = mlx5e_xmit_xdp_frame_check_stop_room(sq, stop_room); in mlx5e_xmit_xdp_frame()
|
H A D | params.h | 37 u16 stop_room; member
|
H A D | ptp.c | 344 sq->stop_room = param->stop_room; in mlx5e_ptp_alloc_txqsq() 644 param->stop_room = mlx5e_stop_room_for_max_wqe(mdev); in mlx5e_ptp_build_sq_param()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_tx.c | 29 u16 num_dumps, stop_room = 0; in mlx5e_ktls_get_stop_room() local 36 stop_room += mlx5e_stop_room_for_wqe(mdev, MLX5E_TLS_SET_STATIC_PARAMS_WQEBBS); in mlx5e_ktls_get_stop_room() 37 stop_room += mlx5e_stop_room_for_wqe(mdev, MLX5E_TLS_SET_PROGRESS_PARAMS_WQEBBS); in mlx5e_ktls_get_stop_room() 38 stop_room += num_dumps * mlx5e_stop_room_for_wqe(mdev, MLX5E_KTLS_DUMP_WQEBBS); in mlx5e_ktls_get_stop_room() 39 stop_room += 1; /* fence nop */ in mlx5e_ktls_get_stop_room() 41 return stop_room; in mlx5e_ktls_get_stop_room()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en.h | 439 u16 stop_room; member 507 u16 stop_room; member
|
H A D | en_tx.c | 348 if (unlikely(!mlx5e_wqc_has_room_for(&sq->wq, sq->cc, sq->pc, sq->stop_room))) { in mlx5e_tx_check_stop() 782 mlx5e_wqc_has_room_for(&sq->wq, sq->cc, sq->pc, sq->stop_room) && in mlx5e_txqsq_wake()
|
H A D | en_main.c | 1472 sq->stop_room = param->is_mpw ? mlx5e_stop_room_for_mpwqe(mdev) : in mlx5e_alloc_xdpsq() 1548 sq->reserved_room = param->stop_room; in mlx5e_alloc_icosq() 1643 sq->stop_room = param->stop_room; in mlx5e_alloc_txqsq()
|