Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c421 u32 tb_id; member
457 u32 tb_id; /* kernel fib table id */ member
693 static u32 mlxsw_sp_fix_tb_id(u32 tb_id) in mlxsw_sp_fix_tb_id() argument
696 if (tb_id == RT_TABLE_LOCAL) in mlxsw_sp_fix_tb_id()
697 tb_id = RT_TABLE_MAIN; in mlxsw_sp_fix_tb_id()
698 return tb_id; in mlxsw_sp_fix_tb_id()
702 u32 tb_id) in mlxsw_sp_vr_find() argument
707 tb_id = mlxsw_sp_fix_tb_id(tb_id); in mlxsw_sp_vr_find()
711 if (mlxsw_sp_vr_is_used(vr) && vr->tb_id == tb_id) in mlxsw_sp_vr_find()
730 u32 tb_id) in mlxsw_sp_vr_create() argument
[all …]
/drivers/net/
Dvrf.c51 u32 tb_id; member
520 rt6i_table = fib6_new_table(net, vrf->tb_id); in vrf_rt6_create()
744 if (!fib_new_table(dev_net(dev), vrf->tb_id)) in vrf_rtable_create()
753 rth->rt_table_id = vrf->tb_id; in vrf_rtable_create()
888 return vrf->tb_id; in vrf_fib_table()
1319 vrf->tb_id = nla_get_u32(data[IFLA_VRF_TABLE]); in vrf_newlink()
1320 if (vrf->tb_id == RT_TABLE_UNSPEC) { in vrf_newlink()
1357 return nla_put_u32(skb, IFLA_VRF_TABLE, vrf->tb_id); in vrf_fillinfo()
1372 if (nla_put_u32(skb, IFLA_VRF_PORT_TABLE, vrf->tb_id)) in vrf_fill_slave_info()
/drivers/net/ethernet/rocker/
Drocker_ofdpa.c2272 int dst_len, struct fib_info *fi, u32 tb_id, in ofdpa_port_fib_ipv4() argument
2761 fen_info->tb_id, 0); in ofdpa_fib4_add()
2782 fen_info->tb_id, OFDPA_OP_FLAG_REMOVE); in ofdpa_fib4_del()