Searched refs:fib_node (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router_hw.c22 * |rif_entry| |fib_node|
571 struct prestera_fib_node *fib_node; local
573 fib_node = rhashtable_lookup_fast(&sw->router->fib_ht, key,
575 return fib_node;
579 struct prestera_fib_node *fib_node)
583 vr = fib_node->info.vr;
584 prestera_hw_lpm_del(sw, vr->hw_vr_id, fib_node->key.addr.u.ipv4,
585 fib_node->key.prefix_len);
586 switch (fib_node->info.type) {
588 prestera_nexthop_group_put(sw, fib_node
578 __prestera_fib_node_destruct(struct prestera_switch *sw, struct prestera_fib_node *fib_node) argument
602 prestera_fib_node_destroy(struct prestera_switch *sw, struct prestera_fib_node *fib_node) argument
626 struct prestera_fib_node *fib_node; local
[all...]
H A Dprestera_router.c392 prestera_fib_node_util_is_neighbour(struct prestera_fib_node *fib_node) argument
394 if (fib_node->info.type != PRESTERA_FIB_TYPE_UC_NH)
397 if (fib_node->info.nh_grp->nh_neigh_head[1].neigh)
400 if (!fib_node->info.nh_grp->nh_neigh_head[0].neigh)
403 if (memcmp(&fib_node->info.nh_grp->nh_neigh_head[0].neigh->key.addr,
404 &fib_node->key.addr, sizeof(struct prestera_ip_addr)))
731 struct prestera_fib_node *fib_node; local
750 fib_node = prestera_fib_node_find(sw, &fib_key);
752 if (!enabled && fib_node) {
753 if (prestera_fib_node_util_is_neighbour(fib_node))
933 struct prestera_fib_node *fib_node; local
[all...]
H A Dprestera_router_hw.h146 struct prestera_fib_node *fib_node);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c477 struct mlxsw_sp_fib_node *fib_node; member in struct:mlxsw_sp_fib_entry
1348 struct mlxsw_sp_fib_node *fib_node; local
1378 fib_node = mlxsw_sp_fib_node_lookup(fib, addrp, addr_len,
1380 if (!fib_node || fib_node->fib_entry->type != type)
1383 return fib_node->fib_entry;
1391 static struct mlxsw_sp_fib_node *fib_node; local
1430 fib_node = mlxsw_sp_fib_node_lookup(ul_fib, saddrp, saddr_len,
1432 if (!fib_node ||
1433 fib_node
6475 mlxsw_sp_fib4_entry_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_node *fib_node, const struct fib_entry_notifier_info *fen_info) argument
6523 struct mlxsw_sp_fib_node *fib_node = fib4_entry->common.fib_node; local
6538 struct mlxsw_sp_fib_node *fib_node; local
6571 mlxsw_sp_fib_node_insert(struct mlxsw_sp_fib *fib, struct mlxsw_sp_fib_node *fib_node) argument
6578 mlxsw_sp_fib_node_remove(struct mlxsw_sp_fib *fib, struct mlxsw_sp_fib_node *fib_node) argument
6601 struct mlxsw_sp_fib_node *fib_node; local
6614 mlxsw_sp_fib_node_destroy(struct mlxsw_sp_fib_node *fib_node) argument
6620 mlxsw_sp_fib_lpm_tree_link(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_node *fib_node) argument
6652 mlxsw_sp_fib_lpm_tree_unlink(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_node *fib_node) argument
6683 mlxsw_sp_fib_node_init(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_node *fib_node, struct mlxsw_sp_fib *fib) argument
6706 mlxsw_sp_fib_node_fini(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_node *fib_node) argument
6721 struct mlxsw_sp_fib_node *fib_node; local
6754 mlxsw_sp_fib_node_put(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_node *fib_node) argument
6769 struct mlxsw_sp_fib_node *fib_node = fib_entry->fib_node; local
6789 struct mlxsw_sp_fib_node *fib_node = fib_entry->fib_node; local
6797 struct mlxsw_sp_fib_node *fib_node = fib4_entry->common.fib_node; local
6818 struct mlxsw_sp_fib_node *fib_node; local
6877 struct mlxsw_sp_fib_node *fib_node; local
7202 struct mlxsw_sp_fib_node *fib_node = fib6_entry->common.fib_node; local
7371 mlxsw_sp_fib6_entry_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_node *fib_node, struct fib6_info **rt_arr, unsigned int nrt6) argument
7440 struct mlxsw_sp_fib_node *fib_node = fib6_entry->common.fib_node; local
7456 struct mlxsw_sp_fib_node *fib_node; local
7485 struct mlxsw_sp_fib_node *fib_node = fib6_entry->common.fib_node; local
7510 struct mlxsw_sp_fib_node *fib_node; local
7573 struct mlxsw_sp_fib_node *fib_node; local
7615 struct mlxsw_sp_fib_node *fib_node; local
7720 mlxsw_sp_fib4_node_flush(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_node *fib_node) argument
7732 mlxsw_sp_fib6_node_flush(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_node *fib_node) argument
7744 mlxsw_sp_fib_node_flush(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_node *fib_node) argument
7762 struct mlxsw_sp_fib_node *fib_node, *tmp; local
[all...]

Completed in 274 milliseconds