Searched refs:rl_raw (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | rl.c | 104 return (!memcmp(entry->rl_raw, rl_in, sizeof(entry->rl_raw)) && in mlx5_rl_are_equal_raw() 157 memcpy(pp_context, entry->rl_raw, sizeof(entry->rl_raw)); in mlx5_set_pp_rate_limit_cmd() 273 memcpy(entry->rl_raw, rl_in, sizeof(entry->rl_raw)); in mlx5_rl_add_rate_raw() 319 u8 rl_raw[MLX5_ST_SZ_BYTES(set_pp_rate_limit_context)] = {}; in mlx5_rl_add_rate() local 321 MLX5_SET(set_pp_rate_limit_context, rl_raw, rate_limit, rl->rate); in mlx5_rl_add_rate() 322 MLX5_SET(set_pp_rate_limit_context, rl_raw, burst_upper_bound, in mlx5_rl_add_rate() 324 MLX5_SET(set_pp_rate_limit_context, rl_raw, typical_packet_size, in mlx5_rl_add_rate() 327 return mlx5_rl_add_rate_raw(dev, rl_raw, in mlx5_rl_add_rate() 336 u8 rl_raw[MLX5_ST_SZ_BYTES(set_pp_rate_limit_context)] = {}; in mlx5_rl_remove_rate() local 344 MLX5_SET(set_pp_rate_limit_context, rl_raw, rate_limit, rl->rate); in mlx5_rl_remove_rate() [all …]
|
/drivers/infiniband/hw/mlx5/ |
D | qos.c | 27 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()
|