Searched refs:tb_id (Results 1 – 6 of 6) sorted by relevance
/drivers/net/netdevsim/ |
D | fib.c | 55 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/ |
D | spectrum_router.c | 381 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 …]
|
D | spectrum_mr.h | 89 u32 tb_id,
|
D | spectrum.h | 683 int mlxsw_sp_router_tb_id_vr_id(struct mlxsw_sp *mlxsw_sp, u32 tb_id,
|
/drivers/net/ |
D | vrf.c | 116 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/ |
D | rocker_ofdpa.c | 2268 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()
|