Searched refs:neigh_entry (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.h | 110 struct mlxsw_sp_neigh_entry *neigh_entry); 111 int mlxsw_sp_neigh_entry_type(struct mlxsw_sp_neigh_entry *neigh_entry); 113 mlxsw_sp_neigh_entry_ha(struct mlxsw_sp_neigh_entry *neigh_entry); 114 u32 mlxsw_sp_neigh4_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry); 116 mlxsw_sp_neigh6_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry); 118 #define mlxsw_sp_rif_neigh_for_each(neigh_entry, rif) \ argument 119 for (neigh_entry = mlxsw_sp_rif_neigh_next(rif, NULL); neigh_entry; \ 120 neigh_entry = mlxsw_sp_rif_neigh_next(rif, neigh_entry)) 122 struct mlxsw_sp_neigh_entry *neigh_entry, 126 struct mlxsw_sp_neigh_entry *neigh_entry, [all …]
|
H A 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 …]
|
H A D | spectrum_router.c | 2204 struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_rif_neigh_next() argument 2206 if (!neigh_entry) { in mlxsw_sp_rif_neigh_next() 2211 typeof(*neigh_entry), in mlxsw_sp_rif_neigh_next() 2214 if (list_is_last(&neigh_entry->rif_list_node, &rif->neigh_list)) in mlxsw_sp_rif_neigh_next() 2216 return list_next_entry(neigh_entry, rif_list_node); in mlxsw_sp_rif_neigh_next() 2219 int mlxsw_sp_neigh_entry_type(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh_entry_type() argument 2221 return neigh_entry->key.n->tbl->family; in mlxsw_sp_neigh_entry_type() 2225 mlxsw_sp_neigh_entry_ha(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh_entry_ha() argument 2227 return neigh_entry->ha; in mlxsw_sp_neigh_entry_ha() 2230 u32 mlxsw_sp_neigh4_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh4_entry_dip() argument [all …]
|
/linux/drivers/net/ethernet/rocker/ |
H A D | rocker_ofdpa.c | 2385 struct ofdpa_neigh_tbl_entry *neigh_entry; in ofdpa_fini() local 2414 hash_for_each_safe(ofdpa->neigh_tbl, bkt, tmp, neigh_entry, entry) in ofdpa_fini() 2415 hash_del(&neigh_entry->entry); in ofdpa_fini()
|