Searched refs:neigh_entry (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.h | 91 struct mlxsw_sp_neigh_entry *neigh_entry); 92 int mlxsw_sp_neigh_entry_type(struct mlxsw_sp_neigh_entry *neigh_entry); 94 mlxsw_sp_neigh_entry_ha(struct mlxsw_sp_neigh_entry *neigh_entry); 95 u32 mlxsw_sp_neigh4_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry); 97 mlxsw_sp_neigh6_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry); 99 #define mlxsw_sp_rif_neigh_for_each(neigh_entry, rif) \ argument 100 for (neigh_entry = mlxsw_sp_rif_neigh_next(rif, NULL); neigh_entry; \ 101 neigh_entry = mlxsw_sp_rif_neigh_next(rif, neigh_entry)) 103 struct mlxsw_sp_neigh_entry *neigh_entry, 107 struct mlxsw_sp_neigh_entry *neigh_entry, [all …]
|
D | spectrum_dpipe.c | 484 struct mlxsw_sp_neigh_entry *neigh_entry, in mlxsw_sp_dpipe_table_host4_entry_fill() argument 490 ha = mlxsw_sp_neigh_entry_ha(neigh_entry); in mlxsw_sp_dpipe_table_host4_entry_fill() 491 dip = mlxsw_sp_neigh4_entry_dip(neigh_entry); in mlxsw_sp_dpipe_table_host4_entry_fill() 497 struct mlxsw_sp_neigh_entry *neigh_entry, in mlxsw_sp_dpipe_table_host6_entry_fill() argument 503 ha = mlxsw_sp_neigh_entry_ha(neigh_entry); in mlxsw_sp_dpipe_table_host6_entry_fill() 504 dip = mlxsw_sp_neigh6_entry_dip(neigh_entry); in mlxsw_sp_dpipe_table_host6_entry_fill() 512 struct mlxsw_sp_neigh_entry *neigh_entry, in mlxsw_sp_dpipe_table_host_entry_fill() argument 520 mlxsw_sp_dpipe_table_host4_entry_fill(entry, neigh_entry, rif); in mlxsw_sp_dpipe_table_host_entry_fill() 523 mlxsw_sp_dpipe_table_host6_entry_fill(entry, neigh_entry, rif); in mlxsw_sp_dpipe_table_host_entry_fill() 530 err = mlxsw_sp_neigh_counter_get(mlxsw_sp, neigh_entry, in mlxsw_sp_dpipe_table_host_entry_fill() [all …]
|
D | spectrum_router.c | 1971 struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_rif_neigh_next() argument 1973 if (!neigh_entry) { in mlxsw_sp_rif_neigh_next() 1978 typeof(*neigh_entry), in mlxsw_sp_rif_neigh_next() 1981 if (list_is_last(&neigh_entry->rif_list_node, &rif->neigh_list)) in mlxsw_sp_rif_neigh_next() 1983 return list_next_entry(neigh_entry, rif_list_node); in mlxsw_sp_rif_neigh_next() 1986 int mlxsw_sp_neigh_entry_type(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh_entry_type() argument 1988 return neigh_entry->key.n->tbl->family; in mlxsw_sp_neigh_entry_type() 1992 mlxsw_sp_neigh_entry_ha(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh_entry_ha() argument 1994 return neigh_entry->ha; in mlxsw_sp_neigh_entry_ha() 1997 u32 mlxsw_sp_neigh4_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh4_entry_dip() argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/ |
D | rocker_ofdpa.c | 2384 struct ofdpa_neigh_tbl_entry *neigh_entry; in ofdpa_fini() local 2413 hash_for_each_safe(ofdpa->neigh_tbl, bkt, tmp, neigh_entry, entry) in ofdpa_fini() 2414 hash_del(&neigh_entry->entry); in ofdpa_fini()
|