Home
last modified time | relevance | path

Searched refs:rl_in (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Drl.c101 static bool mlx5_rl_are_equal_raw(struct mlx5_rl_entry *entry, void *rl_in, in mlx5_rl_are_equal_raw() argument
104 return (!memcmp(entry->rl_raw, rl_in, sizeof(entry->rl_raw)) && in mlx5_rl_are_equal_raw()
114 void *rl_in, u16 uid, bool dedicated) in find_rl_entry() argument
130 if (mlx5_rl_are_equal_raw(&table->rl_entry[i], rl_in, in find_rl_entry()
175 int mlx5_rl_add_rate_raw(struct mlx5_core_dev *dev, void *rl_in, u16 uid, in mlx5_rl_add_rate_raw() argument
183 rate = MLX5_GET(set_pp_rate_limit_context, rl_in, rate_limit); in mlx5_rl_add_rate_raw()
193 entry = find_rl_entry(table, rl_in, uid, dedicated_entry); in mlx5_rl_add_rate_raw()
204 memcpy(entry->rl_raw, rl_in, sizeof(entry->rl_raw)); in mlx5_rl_add_rate_raw()
213 MLX5_GET(set_pp_rate_limit_context, rl_in, in mlx5_rl_add_rate_raw()
215 MLX5_GET(set_pp_rate_limit_context, rl_in, in mlx5_rl_add_rate_raw()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h1017 int mlx5_rl_add_rate_raw(struct mlx5_core_dev *dev, void *rl_in, u16 uid,