Home
last modified time | relevance | path

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

/linux-6.1.9/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()
471 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp2_ipip_nexthop_update_gre6() local
477 adj_index, rif_index); in mlxsw_sp2_ipip_nexthop_update_gre6()
489 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp2_ipip_decap_config_gre6() local
514 mlxsw_reg_rtdp_ipip6_pack(rtdp_pl, rif_index, in mlxsw_sp2_ipip_decap_config_gre6()
Dspectrum_fid.c608 static int mlxsw_sp_fid_reiv_handle(struct mlxsw_sp_fid *fid, u16 rif_index, in mlxsw_sp_fid_reiv_handle() argument
623 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index); in mlxsw_sp_fid_reiv_handle()
658 u16 rif_index, bool valid) in mlxsw_sp_fid_erif_eport_to_vid_map() argument
668 err = mlxsw_sp_fid_reiv_handle(fid, rif_index, valid, i); in mlxsw_sp_fid_erif_eport_to_vid_map()
677 mlxsw_sp_fid_reiv_handle(fid, rif_index, !valid, i); in mlxsw_sp_fid_erif_eport_to_vid_map()
683 u16 rif_index = mlxsw_sp_rif_index(rif); in mlxsw_sp_fid_rif_set() local
698 err = mlxsw_sp_fid_erif_eport_to_vid_map(fid, rif_index, true); in mlxsw_sp_fid_rif_set()
716 u16 rif_index; in mlxsw_sp_fid_rif_unset() local
721 rif_index = mlxsw_sp_rif_index(fid->rif); in mlxsw_sp_fid_rif_unset()
724 mlxsw_sp_fid_erif_eport_to_vid_map(fid, rif_index, false); in mlxsw_sp_fid_rif_unset()
[all …]
Dspectrum_router.c60 u16 rif_index; member
184 static int mlxsw_sp_rif_counter_edit(struct mlxsw_sp *mlxsw_sp, u16 rif_index, in mlxsw_sp_rif_counter_edit() argument
194 mlxsw_reg_ritr_rif_pack(ritr_pl, rif_index); in mlxsw_sp_rif_counter_edit()
320 err = mlxsw_sp_rif_counter_edit(mlxsw_sp, rif->rif_index, in mlxsw_sp_rif_counter_alloc()
346 mlxsw_sp_rif_counter_edit(mlxsw_sp, rif->rif_index, in mlxsw_sp_rif_counter_free()
1568 rif->rif_index, rif->vr_id, rif->dev->mtu); in mlxsw_sp_rif_ipip_lb_op()
1578 rif->rif_index, rif->vr_id, rif->dev->mtu); in mlxsw_sp_rif_ipip_lb_op()
2252 neigh_entry = mlxsw_sp_neigh_entry_alloc(mlxsw_sp, n, rif->rif_index); in mlxsw_sp_neigh_entry_create()
3461 u16 rif_index; in __mlxsw_sp_nexthop_eth_update() local
3463 rif_index = nh->rif ? nh->rif->rif_index : in __mlxsw_sp_nexthop_eth_update()
[all …]
Dspectrum_router.h84 u16 rif_index);
Dspectrum.h1313 u16 rif_index);