Searched refs:tb_id (Results 1 – 6 of 6) sorted by relevance
/drivers/net/netdevsim/ |
D | fib.c | 70 u32 tb_id; member 242 int family, u32 tb_id) in nsim_fib_rt_init() argument 247 fib_rt->key.tb_id = tb_id; in nsim_fib_rt_init() 259 int family, u32 tb_id) in nsim_fib_rt_lookup() argument 267 key.tb_id = tb_id; in nsim_fib_rt_lookup() 283 fen_info->dst_len, AF_INET, fen_info->tb_id); in nsim_fib4_rt_create() 308 fen_info->tb_id); in nsim_fib4_rt_lookup() 323 fri.tb_id = fen_info->tb_id; in nsim_fib4_rt_offload_failed_flag_set() 343 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 | 440 u32 tb_id; member 475 u32 tb_id; /* kernel fib table id */ member 803 static u32 mlxsw_sp_fix_tb_id(u32 tb_id) in mlxsw_sp_fix_tb_id() argument 806 if (tb_id == RT_TABLE_LOCAL || tb_id == RT_TABLE_DEFAULT) in mlxsw_sp_fix_tb_id() 807 tb_id = RT_TABLE_MAIN; in mlxsw_sp_fix_tb_id() 808 return tb_id; in mlxsw_sp_fix_tb_id() 812 u32 tb_id) in mlxsw_sp_vr_find() argument 817 tb_id = mlxsw_sp_fix_tb_id(tb_id); in mlxsw_sp_vr_find() 821 if (mlxsw_sp_vr_is_used(vr) && vr->tb_id == tb_id) in mlxsw_sp_vr_find() 827 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 | 738 int mlxsw_sp_router_tb_id_vr_id(struct mlxsw_sp *mlxsw_sp, u32 tb_id,
|
/drivers/net/ |
D | vrf.c | 117 u32 tb_id; member 272 u32 table_id = vrf->tb_id; in vrf_map_register_dev() 330 u32 table_id = vrf->tb_id; in vrf_map_unregister_dev() 836 vrf->fib6_table = fib6_new_table(net, vrf->tb_id); in vrf_rt6_create() 1076 if (!fib_new_table(dev_net(dev), vrf->tb_id)) in vrf_rtable_create() 1229 return vrf->tb_id; in vrf_fib_table() 1755 vrf->tb_id = nla_get_u32(data[IFLA_VRF_TABLE]); in vrf_newlink() 1756 if (vrf->tb_id == RT_TABLE_UNSPEC) { in vrf_newlink() 1808 return nla_put_u32(skb, IFLA_VRF_TABLE, vrf->tb_id); in vrf_fillinfo() 1823 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 2736 fen_info->tb_id, 0); in ofdpa_fib4_add() 2759 fen_info->tb_id, OFDPA_OP_FLAG_REMOVE); in ofdpa_fib4_del()
|