Home
last modified time | relevance | path

Searched refs:neigh_entry (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.h62 struct mlxsw_sp_neigh_entry *neigh_entry);
63 int mlxsw_sp_neigh_entry_type(struct mlxsw_sp_neigh_entry *neigh_entry);
65 mlxsw_sp_neigh_entry_ha(struct mlxsw_sp_neigh_entry *neigh_entry);
66 u32 mlxsw_sp_neigh4_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry);
68 mlxsw_sp_neigh6_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry);
70 #define mlxsw_sp_rif_neigh_for_each(neigh_entry, rif) \ argument
71 for (neigh_entry = mlxsw_sp_rif_neigh_next(rif, NULL); neigh_entry; \
72 neigh_entry = mlxsw_sp_rif_neigh_next(rif, neigh_entry))
74 struct mlxsw_sp_neigh_entry *neigh_entry,
78 struct mlxsw_sp_neigh_entry *neigh_entry,
[all …]
Dspectrum_dpipe.c482 struct mlxsw_sp_neigh_entry *neigh_entry, in mlxsw_sp_dpipe_table_host4_entry_fill() argument
488 ha = mlxsw_sp_neigh_entry_ha(neigh_entry); in mlxsw_sp_dpipe_table_host4_entry_fill()
489 dip = mlxsw_sp_neigh4_entry_dip(neigh_entry); in mlxsw_sp_dpipe_table_host4_entry_fill()
495 struct mlxsw_sp_neigh_entry *neigh_entry, in mlxsw_sp_dpipe_table_host6_entry_fill() argument
501 ha = mlxsw_sp_neigh_entry_ha(neigh_entry); in mlxsw_sp_dpipe_table_host6_entry_fill()
502 dip = mlxsw_sp_neigh6_entry_dip(neigh_entry); in mlxsw_sp_dpipe_table_host6_entry_fill()
510 struct mlxsw_sp_neigh_entry *neigh_entry, in mlxsw_sp_dpipe_table_host_entry_fill() argument
518 mlxsw_sp_dpipe_table_host4_entry_fill(entry, neigh_entry, rif); in mlxsw_sp_dpipe_table_host_entry_fill()
521 mlxsw_sp_dpipe_table_host6_entry_fill(entry, neigh_entry, rif); in mlxsw_sp_dpipe_table_host_entry_fill()
528 err = mlxsw_sp_neigh_counter_get(mlxsw_sp, neigh_entry, in mlxsw_sp_dpipe_table_host_entry_fill()
[all …]
Dspectrum_router.c1795 struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_rif_neigh_next() argument
1797 if (!neigh_entry) { in mlxsw_sp_rif_neigh_next()
1802 typeof(*neigh_entry), in mlxsw_sp_rif_neigh_next()
1805 if (list_is_last(&neigh_entry->rif_list_node, &rif->neigh_list)) in mlxsw_sp_rif_neigh_next()
1807 return list_next_entry(neigh_entry, rif_list_node); in mlxsw_sp_rif_neigh_next()
1810 int mlxsw_sp_neigh_entry_type(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh_entry_type() argument
1812 return neigh_entry->key.n->tbl->family; in mlxsw_sp_neigh_entry_type()
1816 mlxsw_sp_neigh_entry_ha(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh_entry_ha() argument
1818 return neigh_entry->ha; in mlxsw_sp_neigh_entry_ha()
1821 u32 mlxsw_sp_neigh4_entry_dip(struct mlxsw_sp_neigh_entry *neigh_entry) in mlxsw_sp_neigh4_entry_dip() argument
[all …]
/Linux-v4.19/drivers/net/ethernet/rocker/
Drocker_ofdpa.c2387 struct ofdpa_neigh_tbl_entry *neigh_entry; in ofdpa_fini() local
2416 hash_for_each_safe(ofdpa->neigh_tbl, bkt, tmp, neigh_entry, entry) in ofdpa_fini()
2417 hash_del(&neigh_entry->entry); in ofdpa_fini()