Home
last modified time | relevance | path

Searched refs:rif_index (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c132 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_nexthop_update_gre4() local
138 adj_index, rif_index); in mlxsw_sp_ipip_nexthop_update_gre4()
149 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp() local
176 mlxsw_reg_rtdp_ipip4_pack(rtdp_pl, rif_index, in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
Dspectrum_router.c59 u16 rif_index; member
170 static int mlxsw_sp_rif_counter_edit(struct mlxsw_sp *mlxsw_sp, u16 rif_index, in mlxsw_sp_rif_counter_edit() argument
180 mlxsw_reg_ritr_rif_pack(ritr_pl, rif_index); in mlxsw_sp_rif_counter_edit()
244 err = mlxsw_sp_rif_counter_edit(mlxsw_sp, rif->rif_index, in mlxsw_sp_rif_counter_alloc()
270 mlxsw_sp_rif_counter_edit(mlxsw_sp, rif->rif_index, in mlxsw_sp_rif_counter_free()
1443 rif->rif_index, rif->vr_id, rif->dev->mtu); in mlxsw_sp_rif_ipip_lb_op()
2123 neigh_entry = mlxsw_sp_neigh_entry_alloc(mlxsw_sp, n, rif->rif_index); in mlxsw_sp_neigh_entry_create()
4307 static int mlxsw_sp_adj_discard_write(struct mlxsw_sp *mlxsw_sp, u16 rif_index) in mlxsw_sp_adj_discard_write() argument
4324 mlxsw_sp->router->adj_discard_index, rif_index); in mlxsw_sp_adj_discard_write()
4363 nh_group->nh_rif->rif_index); in mlxsw_sp_fib_entry_op_remote()
[all …]
Dspectrum_fid.c767 u16 rif_index = *(u16 *) arg; in mlxsw_sp_fid_rfid_index_alloc() local
769 *p_fid_index = fid->fid_family->start_index + rif_index; in mlxsw_sp_fid_rfid_index_alloc()
777 u16 rif_index = *(u16 *) arg; in mlxsw_sp_fid_rfid_compare() local
779 return fid->fid_index == rif_index + fid->fid_family->start_index; in mlxsw_sp_fid_rfid_compare()
998 u16 rif_index) in mlxsw_sp_fid_rfid_get() argument
1000 return mlxsw_sp_fid_get(mlxsw_sp, MLXSW_SP_FID_TYPE_RFID, &rif_index); in mlxsw_sp_fid_rfid_get()
Dspectrum_router.h71 u16 rif_index);
Dspectrum.h1146 u16 rif_index);