Home
last modified time | relevance | path

Searched refs:rl_raw (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Drl.c103 return (!memcmp(entry->rl_raw, rl_in, sizeof(entry->rl_raw)) && in mlx5_rl_are_equal_raw()
156 memcpy(pp_context, entry->rl_raw, sizeof(entry->rl_raw)); in mlx5_set_pp_rate_limit_cmd()
272 memcpy(entry->rl_raw, rl_in, sizeof(entry->rl_raw)); in mlx5_rl_add_rate_raw()
318 u8 rl_raw[MLX5_ST_SZ_BYTES(set_pp_rate_limit_context)] = {}; in mlx5_rl_add_rate() local
320 MLX5_SET(set_pp_rate_limit_context, rl_raw, rate_limit, rl->rate); in mlx5_rl_add_rate()
321 MLX5_SET(set_pp_rate_limit_context, rl_raw, burst_upper_bound, in mlx5_rl_add_rate()
323 MLX5_SET(set_pp_rate_limit_context, rl_raw, typical_packet_size, in mlx5_rl_add_rate()
326 return mlx5_rl_add_rate_raw(dev, rl_raw, in mlx5_rl_add_rate()
335 u8 rl_raw[MLX5_ST_SZ_BYTES(set_pp_rate_limit_context)] = {}; in mlx5_rl_remove_rate() local
343 MLX5_SET(set_pp_rate_limit_context, rl_raw, rate_limit, rl->rate); in mlx5_rl_remove_rate()
[all …]
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqos.c27 u8 rl_raw[MLX5_ST_SZ_BYTES(set_pp_rate_limit_context)] = {}; in UVERBS_HANDLER() local
56 memcpy(rl_raw, in_ctx, inlen); in UVERBS_HANDLER()
66 err = mlx5_rl_add_rate_raw(dev->mdev, rl_raw, uid, in UVERBS_HANDLER()
/linux-6.1.9/include/linux/mlx5/
Ddriver.h524 u8 rl_raw[MLX5_ST_SZ_BYTES(set_pp_rate_limit_context)]; member