Searched refs:neigh_entry (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.h | 101 struct mlxsw_sp_neigh_entry *neigh_entry); 102 int mlxsw_sp_neigh_entry_type(struct mlxsw_sp_neigh_entry *neigh_entry); 104 mlxsw_sp_neigh_entry_ha(struct mlxsw_sp_neigh_entry *neigh_entry); 105 u32 mlxsw_sp_neigh4_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry); 107 mlxsw_sp_neigh6_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry); 109 #define mlxsw_sp_rif_neigh_for_each(neigh_entry, rif) \ argument 110 for (neigh_entry = mlxsw_sp_rif_neigh_next(rif, NULL); neigh_entry; \ 111 neigh_entry = mlxsw_sp_rif_neigh_next(rif, neigh_entry)) 113 struct mlxsw_sp_neigh_entry *neigh_entry, 117 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 | 2100 struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_rif_neigh_next() argument 2102 if (!neigh_entry) { in mlxsw_sp_rif_neigh_next() 2107 typeof(*neigh_entry), in mlxsw_sp_rif_neigh_next() 2110 if (list_is_last(&neigh_entry->rif_list_node, &rif->neigh_list)) in mlxsw_sp_rif_neigh_next() 2112 return list_next_entry(neigh_entry, rif_list_node); in mlxsw_sp_rif_neigh_next() 2115 int mlxsw_sp_neigh_entry_type(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh_entry_type() argument 2117 return neigh_entry->key.n->tbl->family; in mlxsw_sp_neigh_entry_type() 2121 mlxsw_sp_neigh_entry_ha(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh_entry_ha() argument 2123 return neigh_entry->ha; in mlxsw_sp_neigh_entry_ha() 2126 u32 mlxsw_sp_neigh4_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh4_entry_dip() argument [all …]
|
/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()
|