Home
last modified time | relevance | path

Searched refs:rif (Results 1 – 22 of 22) sorted by relevance

/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c1659 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()
2269 neigh_entry->rif = rif; in mlxsw_sp_neigh_entry_alloc()
3014 .rif = rif, in mlxsw_sp_neigh_rif_made_sync()
3750 rif_index = rif ? rif->rif_index : in __mlxsw_sp_nexthop_eth_update()
8228 rif->crif->rif = NULL; in mlxsw_sp_router_rif_gone_sync()
8357 crif->rif = rif; in mlxsw_sp_rif_alloc()
8368 rif->crif->rif = NULL; in mlxsw_sp_rif_free()
9707 mlxsw_sp_rif_edit(mlxsw_sp, rif->rif_index, rif->addr, rif->mtu, in mlxsw_sp_router_port_change_event()
10402 err = mlxsw_sp_fid_rif_set(rif->fid, rif); in mlxsw_sp_rif_subport_configure()
[all …]
H A Dspectrum_router.h92 u16 mlxsw_sp_ipip_lb_rif_index(const struct mlxsw_sp_rif_ipip_lb *rif);
95 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif);
96 bool mlxsw_sp_rif_has_dev(const struct mlxsw_sp_rif *rif);
97 bool mlxsw_sp_rif_dev_is(const struct mlxsw_sp_rif *rif,
100 struct mlxsw_sp_rif *rif,
103 void mlxsw_sp_rif_counter_free(struct mlxsw_sp_rif *rif,
105 int mlxsw_sp_rif_counter_alloc(struct mlxsw_sp_rif *rif,
108 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif,
117 #define mlxsw_sp_rif_neigh_for_each(neigh_entry, rif) \ argument
118 for (neigh_entry = mlxsw_sp_rif_neigh_next(rif, NULL); neigh_entry; \
[all …]
H A Dspectrum_dpipe.c156 struct mlxsw_sp_rif *rif, in mlxsw_sp_erif_entry_get() argument
224 if (!rif || !mlxsw_sp_rif_has_dev(rif)) in mlxsw_sp_dpipe_table_erif_entries_dump()
266 if (!rif) in mlxsw_sp_dpipe_table_erif_counters_update()
269 mlxsw_sp_rif_counter_alloc(rif, in mlxsw_sp_dpipe_table_erif_counters_update()
272 mlxsw_sp_rif_counter_free(rif, in mlxsw_sp_dpipe_table_erif_counters_update()
485 struct mlxsw_sp_rif *rif) in mlxsw_sp_dpipe_table_host4_entry_fill() argument
513 struct mlxsw_sp_rif *rif, in mlxsw_sp_dpipe_table_host_entry_fill() argument
563 if (!rif) in mlxsw_sp_dpipe_table_host_entries_get()
581 neigh_entry, rif, in mlxsw_sp_dpipe_table_host_entries_get()
671 if (!rif) in mlxsw_sp_dpipe_table_host_counters_update()
[all …]
H A Dspectrum_mr.c29 const struct mlxsw_sp_rif *rif; member
632 mr_vif->rif = rif; in mlxsw_sp_mr_vif_resolve()
658 mr_vif->rif = NULL; in mlxsw_sp_mr_vif_resolve()
678 mr_vif->rif = NULL; in mlxsw_sp_mr_vif_unresolve()
718 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_rif_add() argument
722 if (!mlxsw_sp_rif_has_dev(rif)) in mlxsw_sp_mr_rif_add()
729 mr_vif->vif_flags, rif); in mlxsw_sp_mr_rif_add()
733 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_rif_del() argument
737 if (!mlxsw_sp_rif_has_dev(rif)) in mlxsw_sp_mr_rif_del()
754 if (!mlxsw_sp_rif_has_dev(rif)) in mlxsw_sp_mr_rif_mtu_update()
[all …]
H A Dspectrum_fid.c479 return fid->rif; in mlxsw_sp_fid_rif()
604 if (rif) { in mlxsw_sp_fid_edit_op()
622 irif_index = rif ? mlxsw_sp_rif_index(rif) : 0; in mlxsw_sp_fid_vni_to_fid_map()
654 irif_index = rif ? mlxsw_sp_rif_index(rif) : 0; in mlxsw_sp_fid_vid_to_fid_map()
843 fid->rif = rif; in mlxsw_sp_fid_rif_set()
859 if (!fid->rif) in mlxsw_sp_fid_rif_unset()
898 if (fid->rif) { in __mlxsw_sp_fid_port_vid_map()
1101 if (!fid->rif) in mlxsw_sp_fid_evid_map()
1375 if (!rif) in mlxsw_sp_fid_rfid_setup_cff()
1455 if (fid->rif) in mlxsw_sp_fid_rfid_port_vid_map()
[all …]
H A Dspectrum_mr.h80 const struct mlxsw_sp_rif *rif);
83 const struct mlxsw_sp_rif *rif);
85 const struct mlxsw_sp_rif *rif);
87 const struct mlxsw_sp_rif *rif, int mtu);
H A Dreg.h6848 MLXSW_ITEM32(reg, ritr, rif, 0x00, 0, 16);
7127 mlxsw_reg_ritr_rif_set(payload, rif); in mlxsw_reg_ritr_rif_pack()
7141 u16 rif, u16 vr_id, u16 mtu) in mlxsw_reg_ritr_pack() argument
7153 mlxsw_reg_ritr_rif_set(payload, rif); in mlxsw_reg_ritr_pack()
8234 MLXSW_ITEM32(reg, rauht, rif, 0x00, 0, 16);
8289 enum mlxsw_reg_rauht_op op, u16 rif, in mlxsw_reg_rauht_pack() argument
8294 mlxsw_reg_rauht_rif_set(payload, rif); in mlxsw_reg_rauht_pack()
8299 enum mlxsw_reg_rauht_op op, u16 rif, in mlxsw_reg_rauht_pack4() argument
8302 mlxsw_reg_rauht_pack(payload, op, rif, mac); in mlxsw_reg_rauht_pack4()
8307 enum mlxsw_reg_rauht_op op, u16 rif, in mlxsw_reg_rauht_pack6() argument
[all …]
H A Dspectrum.h745 u16 mlxsw_sp_rif_index(const struct mlxsw_sp_rif *rif);
746 int mlxsw_sp_rif_subport_port(const struct mlxsw_sp_rif *rif,
1291 int mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif);
/linux-6.15/Documentation/devicetree/bindings/media/
H A Drenesas,drif.yaml176 drif00: rif@e6f40000 {
198 drif01: rif@e6f50000 {
233 drif10: rif@e6f60000 {
247 drif11: rif@e6f70000 {
/linux-6.15/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Drif_counter_scale.sh12 max_cnts=$(devlink_resource_size_get counters rif)
/linux-6.15/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Drif_counter_scale.sh12 max_cnts=$(devlink_resource_size_get counters rif)
/linux-6.15/include/uapi/linux/
H A Datm.h147 unsigned int rif : 4; /* Rate Increment Factor (4-bit) */ member
/linux-6.15/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router_hw.h51 void *rif; member
H A Dprestera_router.c129 nk->rif = (void *)ck->dev; in prestera_util_nc_key2nh_key()
881 fc->lpm_info.nh_grp_key.neigh[0].rif = in __prestera_pr_k_arb_fc_lpm_info_calc()
897 fc->lpm_info.nh_grp_key.neigh[nh_cnt].rif = in __prestera_pr_k_arb_fc_lpm_info_calc()
/linux-6.15/drivers/media/tuners/
H A Dtda9887.c336 static char *rif[4] = { in dump_write_message() local
376 rif[(buf[3] & 0x0c) >> 2]); in dump_write_message()
/linux-6.15/arch/arm64/boot/dts/renesas/
H A Dr8a77990.dtsi1364 drif00: rif@e6f40000 {
1379 drif01: rif@e6f50000 {
1394 drif10: rif@e6f60000 {
1409 drif11: rif@e6f70000 {
1424 drif20: rif@e6f80000 {
1439 drif21: rif@e6f90000 {
1454 drif30: rif@e6fa0000 {
1469 drif31: rif@e6fb0000 {
H A Dr8a77965.dtsi1624 drif00: rif@e6f40000 {
1639 drif01: rif@e6f50000 {
1654 drif10: rif@e6f60000 {
1669 drif11: rif@e6f70000 {
1684 drif20: rif@e6f80000 {
1699 drif21: rif@e6f90000 {
1714 drif30: rif@e6fa0000 {
1729 drif31: rif@e6fb0000 {
H A Dr8a77960.dtsi1761 drif00: rif@e6f40000 {
1776 drif01: rif@e6f50000 {
1791 drif10: rif@e6f60000 {
1806 drif11: rif@e6f70000 {
1821 drif20: rif@e6f80000 {
1836 drif21: rif@e6f90000 {
1851 drif30: rif@e6fa0000 {
1866 drif31: rif@e6fb0000 {
H A Dr8a77951.dtsi1889 drif00: rif@e6f40000 {
1904 drif01: rif@e6f50000 {
1919 drif10: rif@e6f60000 {
1934 drif11: rif@e6f70000 {
1949 drif20: rif@e6f80000 {
1964 drif21: rif@e6f90000 {
1979 drif30: rif@e6fa0000 {
1994 drif31: rif@e6fb0000 {
/linux-6.15/drivers/atm/
H A Diphase.c367 srv_p->rif = 0xf; in init_abr_vc()
415 if (srv_p->rif > MAX_RIF) in ia_open_abr_vc()
449 air = srv_p->pcr << (15 - srv_p->rif); in ia_open_abr_vc()
1860 if (vcc->qos.txtp.rif)
1861 srv_p.rif = vcc->qos.txtp.rif;
H A Diphase.h833 u8 rif; /* Rate Increment Factor (4-bit) */ member
/linux-6.15/arch/mips/include/asm/octeon/
H A Dcvmx-pko-defs.h1266 uint64_t rif:1; member
1286 uint64_t rif:1;