Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c170 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_nexthop_update_gre4() local
177 adj_index, rif_index); in mlxsw_sp_ipip_nexthop_update_gre4()
188 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_decap_config_gre4() local
215 mlxsw_reg_rtdp_ipip4_pack(rtdp_pl, rif_index, in mlxsw_sp_ipip_decap_config_gre4()
385 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_nexthop_update_gre6() local
391 adj_index, rif_index); in mlxsw_sp_ipip_nexthop_update_gre6()
403 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_decap_config_gre6() local
428 mlxsw_reg_rtdp_ipip6_pack(rtdp_pl, rif_index, in mlxsw_sp_ipip_decap_config_gre6()
Dspectrum_fid.c598 static int mlxsw_sp_fid_reiv_handle(struct mlxsw_sp_fid *fid, u16 rif_index, in mlxsw_sp_fid_reiv_handle() argument
613 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index); in mlxsw_sp_fid_reiv_handle()
648 u16 rif_index, bool valid) in mlxsw_sp_fid_erif_eport_to_vid_map() argument
658 err = mlxsw_sp_fid_reiv_handle(fid, rif_index, valid, i); in mlxsw_sp_fid_erif_eport_to_vid_map()
667 mlxsw_sp_fid_reiv_handle(fid, rif_index, !valid, i); in mlxsw_sp_fid_erif_eport_to_vid_map()
673 u16 rif_index = mlxsw_sp_rif_index(rif); in mlxsw_sp_fid_rif_set() local
688 err = mlxsw_sp_fid_erif_eport_to_vid_map(fid, rif_index, true); in mlxsw_sp_fid_rif_set()
706 u16 rif_index; in mlxsw_sp_fid_rif_unset() local
711 rif_index = mlxsw_sp_rif_index(fid->rif); in mlxsw_sp_fid_rif_unset()
714 mlxsw_sp_fid_erif_eport_to_vid_map(fid, rif_index, false); in mlxsw_sp_fid_rif_unset()
[all …]
Dspectrum_router.c79 u16 rif_index; member
213 static int mlxsw_sp_rif_counter_edit(struct mlxsw_sp *mlxsw_sp, u16 rif_index, in mlxsw_sp_rif_counter_edit() argument
223 mlxsw_reg_ritr_rif_pack(ritr_pl, rif_index); in mlxsw_sp_rif_counter_edit()
349 err = mlxsw_sp_rif_counter_edit(mlxsw_sp, rif->rif_index, in mlxsw_sp_rif_counter_alloc()
375 mlxsw_sp_rif_counter_edit(mlxsw_sp, rif->rif_index, in mlxsw_sp_rif_counter_free()
1658 rif->rif_index, rif->vr_id, dev->mtu); in mlxsw_sp_rif_ipip_lb_op()
1668 rif->rif_index, rif->vr_id, dev->mtu); in mlxsw_sp_rif_ipip_lb_op()
2355 neigh_entry = mlxsw_sp_neigh_entry_alloc(mlxsw_sp, n, rif->rif_index); in mlxsw_sp_neigh_entry_create()
3634 u16 rif_index; in __mlxsw_sp_nexthop_eth_update() local
3636 rif_index = rif ? rif->rif_index : in __mlxsw_sp_nexthop_eth_update()
[all …]
Dspectrum_router.h91 u16 rif_index);
Dspectrum.h1316 u16 rif_index);