Home
last modified time | relevance | path

Searched refs:tb_id (Results 1 – 6 of 6) sorted by relevance

/drivers/net/netdevsim/
Dfib.c55 u32 tb_id; member
198 int family, u32 tb_id) in nsim_fib_rt_init() argument
203 fib_rt->key.tb_id = tb_id; in nsim_fib_rt_init()
215 int family, u32 tb_id) in nsim_fib_rt_lookup() argument
223 key.tb_id = tb_id; in nsim_fib_rt_lookup()
239 fen_info->dst_len, AF_INET, fen_info->tb_id); in nsim_fib4_rt_create()
264 fen_info->tb_id); in nsim_fib4_rt_lookup()
280 fri.tb_id = fib4_rt->common.key.tb_id; in nsim_fib4_rt_hw_flags_set()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c381 u32 tb_id; member
416 u32 tb_id; /* kernel fib table id */ member
706 static u32 mlxsw_sp_fix_tb_id(u32 tb_id) in mlxsw_sp_fix_tb_id() argument
709 if (tb_id == RT_TABLE_LOCAL || tb_id == RT_TABLE_DEFAULT) in mlxsw_sp_fix_tb_id()
710 tb_id = RT_TABLE_MAIN; in mlxsw_sp_fix_tb_id()
711 return tb_id; in mlxsw_sp_fix_tb_id()
715 u32 tb_id) in mlxsw_sp_vr_find() argument
720 tb_id = mlxsw_sp_fix_tb_id(tb_id); in mlxsw_sp_vr_find()
724 if (mlxsw_sp_vr_is_used(vr) && vr->tb_id == tb_id) in mlxsw_sp_vr_find()
730 int mlxsw_sp_router_tb_id_vr_id(struct mlxsw_sp *mlxsw_sp, u32 tb_id, in mlxsw_sp_router_tb_id_vr_id() argument
[all …]
Dspectrum_mr.h89 u32 tb_id,
Dspectrum.h683 int mlxsw_sp_router_tb_id_vr_id(struct mlxsw_sp *mlxsw_sp, u32 tb_id,
/drivers/net/
Dvrf.c116 u32 tb_id; member
271 u32 table_id = vrf->tb_id; in vrf_map_register_dev()
329 u32 table_id = vrf->tb_id; in vrf_map_unregister_dev()
837 vrf->fib6_table = fib6_new_table(net, vrf->tb_id); in vrf_rt6_create()
1084 if (!fib_new_table(dev_net(dev), vrf->tb_id)) in vrf_rtable_create()
1237 return vrf->tb_id; in vrf_fib_table()
1690 vrf->tb_id = nla_get_u32(data[IFLA_VRF_TABLE]); in vrf_newlink()
1691 if (vrf->tb_id == RT_TABLE_UNSPEC) { in vrf_newlink()
1743 return nla_put_u32(skb, IFLA_VRF_TABLE, vrf->tb_id); in vrf_fillinfo()
1758 if (nla_put_u32(skb, IFLA_VRF_PORT_TABLE, vrf->tb_id)) in vrf_fill_slave_info()
/drivers/net/ethernet/rocker/
Drocker_ofdpa.c2268 int dst_len, struct fib_info *fi, u32 tb_id, in ofdpa_port_fib_ipv4() argument
2748 fen_info->tb_id, 0); in ofdpa_fib4_add()
2771 fen_info->tb_id, OFDPA_OP_FLAG_REMOVE); in ofdpa_fib4_del()