Searched refs:rl_in (Results 1 – 1 of 1) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | rl.c | 100 static bool mlx5_rl_are_equal_raw(struct mlx5_rl_entry *entry, void *rl_in, in mlx5_rl_are_equal_raw() argument 103 return (!memcmp(entry->rl_raw, rl_in, sizeof(entry->rl_raw)) && in mlx5_rl_are_equal_raw() 113 void *rl_in, u16 uid, bool dedicated) in find_rl_entry() argument 132 if (mlx5_rl_are_equal_raw(&table->rl_entry[i], rl_in, in find_rl_entry() 240 int mlx5_rl_add_rate_raw(struct mlx5_core_dev *dev, void *rl_in, u16 uid, in mlx5_rl_add_rate_raw() argument 251 rate = MLX5_GET(set_pp_rate_limit_context, rl_in, rate_limit); in mlx5_rl_add_rate_raw() 263 entry = find_rl_entry(table, rl_in, uid, dedicated_entry); in mlx5_rl_add_rate_raw() 272 memcpy(entry->rl_raw, rl_in, sizeof(entry->rl_raw)); in mlx5_rl_add_rate_raw() 280 MLX5_GET(set_pp_rate_limit_context, rl_in, in mlx5_rl_add_rate_raw() 282 MLX5_GET(set_pp_rate_limit_context, rl_in, in mlx5_rl_add_rate_raw()
|