Searched refs:nve (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_nve.c | 205 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_mc_list_find() local 207 return rhashtable_lookup_fast(&nve->mc_list_ht, key, in mlxsw_sp_nve_mc_list_find() 215 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_mc_list_create() local 226 err = rhashtable_insert_fast(&nve->mc_list_ht, &mc_list->ht_node, in mlxsw_sp_nve_mc_list_create() 241 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_mc_list_destroy() local 243 rhashtable_remove_fast(&nve->mc_list_ht, &mc_list->ht_node, in mlxsw_sp_nve_mc_list_destroy() 276 unsigned int num_max_entries = mlxsw_sp->nve->num_max_mc_entries[proto]; in mlxsw_sp_nve_mc_record_create() 323 struct mlxsw_sp_nve *nve = mlxsw_sp->nve; in mlxsw_sp_nve_mc_record_get() local 326 num_entries < nve->num_max_mc_entries[proto]) in mlxsw_sp_nve_mc_record_get() 345 struct mlxsw_sp_nve *nve = mc_record->mlxsw_sp->nve; in mlxsw_sp_nve_mc_free_entry_find() local [all …]
|
| H A D | spectrum_nve_vxlan.c | 58 static bool mlxsw_sp_nve_vxlan_can_offload(const struct mlxsw_sp_nve *nve, in mlxsw_sp_nve_vxlan_can_offload() argument 119 static bool mlxsw_sp1_nve_vxlan_can_offload(const struct mlxsw_sp_nve *nve, in mlxsw_sp1_nve_vxlan_can_offload() argument 128 return mlxsw_sp_nve_vxlan_can_offload(nve, params, extack); in mlxsw_sp1_nve_vxlan_can_offload() 147 static void mlxsw_sp_nve_vxlan_config(const struct mlxsw_sp_nve *nve, in mlxsw_sp_nve_vxlan_config() argument 232 static int mlxsw_sp1_nve_vxlan_init(struct mlxsw_sp_nve *nve, in mlxsw_sp1_nve_vxlan_init() argument 235 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp1_nve_vxlan_init() 250 err = mlxsw_sp1_nve_vxlan_rtdp_set(mlxsw_sp, nve->tunnel_index); in mlxsw_sp1_nve_vxlan_init() 257 nve->tunnel_index); in mlxsw_sp1_nve_vxlan_init() 273 static void mlxsw_sp1_nve_vxlan_fini(struct mlxsw_sp_nve *nve) in mlxsw_sp1_nve_vxlan_fini() argument 275 struct mlxsw_sp_nve_config *config = &nve->config; in mlxsw_sp1_nve_vxlan_fini() [all …]
|
| H A D | spectrum_nve.h | 38 bool (*can_offload)(const struct mlxsw_sp_nve *nve, 41 void (*nve_config)(const struct mlxsw_sp_nve *nve, 44 int (*init)(struct mlxsw_sp_nve *nve, 46 void (*fini)(struct mlxsw_sp_nve *nve);
|