Searched refs:rif_index (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ipip.c | 174 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_nexthop_update_gre4() local 181 adj_index, rif_index); in mlxsw_sp_ipip_nexthop_update_gre4() 192 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_decap_config_gre4() local 219 mlxsw_reg_rtdp_ipip4_pack(rtdp_pl, rif_index, in mlxsw_sp_ipip_decap_config_gre4() 392 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_nexthop_update_gre6() local 398 adj_index, rif_index); in mlxsw_sp_ipip_nexthop_update_gre6() 410 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_decap_config_gre6() local 435 mlxsw_reg_rtdp_ipip6_pack(rtdp_pl, rif_index, in mlxsw_sp_ipip_decap_config_gre6()
|
D | spectrum_fid.c | 749 static int mlxsw_sp_fid_reiv_handle(struct mlxsw_sp_fid *fid, u16 rif_index, in mlxsw_sp_fid_reiv_handle() argument 764 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index); in mlxsw_sp_fid_reiv_handle() 799 u16 rif_index, bool valid) in mlxsw_sp_fid_erif_eport_to_vid_map() argument 809 err = mlxsw_sp_fid_reiv_handle(fid, rif_index, valid, i); in mlxsw_sp_fid_erif_eport_to_vid_map() 818 mlxsw_sp_fid_reiv_handle(fid, rif_index, !valid, i); in mlxsw_sp_fid_erif_eport_to_vid_map() 824 u16 rif_index = mlxsw_sp_rif_index(rif); in mlxsw_sp_fid_rif_set() local 839 err = mlxsw_sp_fid_erif_eport_to_vid_map(fid, rif_index, true); in mlxsw_sp_fid_rif_set() 857 u16 rif_index; in mlxsw_sp_fid_rif_unset() local 862 rif_index = mlxsw_sp_rif_index(fid->rif); in mlxsw_sp_fid_rif_unset() 865 mlxsw_sp_fid_erif_eport_to_vid_map(fid, rif_index, false); in mlxsw_sp_fid_rif_unset() [all …]
|
D | spectrum_router.c | 80 u16 rif_index; member 214 static int mlxsw_sp_rif_counter_edit(struct mlxsw_sp *mlxsw_sp, u16 rif_index, in mlxsw_sp_rif_counter_edit() argument 224 mlxsw_reg_ritr_rif_pack(ritr_pl, rif_index); in mlxsw_sp_rif_counter_edit() 350 err = mlxsw_sp_rif_counter_edit(mlxsw_sp, rif->rif_index, in mlxsw_sp_rif_counter_alloc() 376 mlxsw_sp_rif_counter_edit(mlxsw_sp, rif->rif_index, in mlxsw_sp_rif_counter_free() 1659 rif->rif_index, rif->vr_id, dev->mtu); in mlxsw_sp_rif_ipip_lb_op() 1669 rif->rif_index, rif->vr_id, dev->mtu); in mlxsw_sp_rif_ipip_lb_op() 2356 neigh_entry = mlxsw_sp_neigh_entry_alloc(mlxsw_sp, n, rif->rif_index); in mlxsw_sp_neigh_entry_create() 3745 u16 rif_index; in __mlxsw_sp_nexthop_eth_update() local 3747 rif_index = rif ? rif->rif_index : in __mlxsw_sp_nexthop_eth_update() [all …]
|
D | spectrum_router.h | 91 u16 rif_index);
|
D | spectrum.h | 1318 u16 rif_index);
|