Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c109 void (*setup)(struct mlxsw_sp_rif *rif,
111 int (*configure)(struct mlxsw_sp_rif *rif,
113 void (*deconfigure)(struct mlxsw_sp_rif *rif);
114 struct mlxsw_sp_fid * (*fid_get)(struct mlxsw_sp_rif *rif,
116 void (*fdb_del)(struct mlxsw_sp_rif *rif, const char *mac);
133 static void mlxsw_sp_rif_destroy(struct mlxsw_sp_rif *rif);
144 mlxsw_sp_rif_p_counter_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_p_counter_get() argument
149 return &rif->counter_egress; in mlxsw_sp_rif_p_counter_get()
151 return &rif->counter_ingress; in mlxsw_sp_rif_p_counter_get()
157 mlxsw_sp_rif_counter_valid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_valid_get() argument
[all …]
Dspectrum_router.h85 u16 mlxsw_sp_ipip_lb_rif_index(const struct mlxsw_sp_rif_ipip_lb *rif);
86 u16 mlxsw_sp_ipip_lb_ul_vr_id(const struct mlxsw_sp_rif_ipip_lb *rif);
89 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif);
90 const struct net_device *mlxsw_sp_rif_dev(const struct mlxsw_sp_rif *rif);
92 struct mlxsw_sp_rif *rif,
95 void mlxsw_sp_rif_counter_free(struct mlxsw_sp_rif *rif,
97 int mlxsw_sp_rif_counter_alloc(struct mlxsw_sp_rif *rif,
100 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif,
109 #define mlxsw_sp_rif_neigh_for_each(neigh_entry, rif) \ argument
110 for (neigh_entry = mlxsw_sp_rif_neigh_next(rif, NULL); neigh_entry; \
[all …]
Dspectrum_dpipe.c156 struct mlxsw_sp_rif *rif, in mlxsw_sp_erif_entry_get() argument
166 *rif_value = mlxsw_sp_rif_index(rif); in mlxsw_sp_erif_entry_get()
167 entry->match_values->mapping_value = mlxsw_sp_rif_dev_ifindex(rif); in mlxsw_sp_erif_entry_get()
176 entry->index = mlxsw_sp_rif_index(rif); in mlxsw_sp_erif_entry_get()
181 err = mlxsw_sp_rif_counter_value_get(mlxsw_sp, rif, in mlxsw_sp_erif_entry_get()
222 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_erif_entries_dump() local
224 if (!rif || !mlxsw_sp_rif_dev(rif)) in mlxsw_sp_dpipe_table_erif_entries_dump()
226 err = mlxsw_sp_erif_entry_get(mlxsw_sp, &entry, rif, in mlxsw_sp_dpipe_table_erif_entries_dump()
264 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_erif_counters_update() local
266 if (!rif) in mlxsw_sp_dpipe_table_erif_counters_update()
[all …]
Dspectrum_fid.c33 struct mlxsw_sp_rif *rif; member
97 const struct mlxsw_sp_rif *rif);
392 return fid->rif; in mlxsw_sp_fid_rif()
445 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_edit_op() argument
463 if (rif) { in mlxsw_sp_fid_edit_op()
465 mlxsw_reg_sfmr_irif_set(sfmr_pl, mlxsw_sp_rif_index(rif)); in mlxsw_sp_fid_edit_op()
472 const struct mlxsw_sp_rif *rif, in mlxsw_sp_fid_vni_to_fid_map() argument
480 irif_valid = !!rif; in mlxsw_sp_fid_vni_to_fid_map()
481 irif_index = rif ? mlxsw_sp_rif_index(rif) : 0; in mlxsw_sp_fid_vni_to_fid_map()
489 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_to_fid_rif_update() argument
[all …]
Dspectrum_mr.c29 const struct mlxsw_sp_rif *rif; member
102 return vif->ops->is_regular(vif) && vif->dev && vif->rif; in mlxsw_sp_mr_vif_valid()
156 if (mlxsw_sp_mr_vif_exists(rve->mr_vif) && !rve->mr_vif->rif) in mlxsw_sp_mr_route_action()
223 u16 rifi = mlxsw_sp_rif_index(rve->mr_vif->rif); in mlxsw_sp_mr_route_info_create()
230 irif_index = mlxsw_sp_rif_index(mr_route->ivif.mr_vif->rif); in mlxsw_sp_mr_route_info_create()
494 irif_index = mlxsw_sp_rif_index(rve->mr_vif->rif); in mlxsw_sp_mr_route_ivif_resolve()
540 erif_index = mlxsw_sp_rif_index(rve->mr_vif->rif); in mlxsw_sp_mr_route_evif_resolve()
615 rifi = mlxsw_sp_rif_index(rve->mr_vif->rif); in mlxsw_sp_mr_route_evif_unresolve()
625 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_vif_resolve() argument
632 mr_vif->rif = rif; in mlxsw_sp_mr_vif_resolve()
[all …]
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);
Dreg.h6675 MLXSW_ITEM32(reg, ritr, rif, 0x00, 0, 16);
6951 static inline void mlxsw_reg_ritr_rif_pack(char *payload, u16 rif) in mlxsw_reg_ritr_rif_pack() argument
6954 mlxsw_reg_ritr_rif_set(payload, rif); in mlxsw_reg_ritr_rif_pack()
6968 u16 rif, u16 vr_id, u16 mtu) in mlxsw_reg_ritr_pack() argument
6980 mlxsw_reg_ritr_rif_set(payload, rif); in mlxsw_reg_ritr_pack()
6996 mlxsw_reg_ritr_vlan_if_pack(char *payload, bool enable, u16 rif, u16 vr_id, in mlxsw_reg_ritr_vlan_if_pack() argument
7002 mlxsw_reg_ritr_pack(payload, enable, type, rif, vr_id, mtu); in mlxsw_reg_ritr_vlan_if_pack()
8061 MLXSW_ITEM32(reg, rauht, rif, 0x00, 0, 16);
8116 enum mlxsw_reg_rauht_op op, u16 rif, in mlxsw_reg_rauht_pack() argument
8121 mlxsw_reg_rauht_rif_set(payload, rif); in mlxsw_reg_rauht_pack()
[all …]
Dspectrum.h749 u16 mlxsw_sp_rif_index(const struct mlxsw_sp_rif *rif);
1298 int mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif);
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Drif_counter_scale.sh12 max_cnts=$(devlink_resource_size_get counters rif)
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Drif_counter_scale.sh12 max_cnts=$(devlink_resource_size_get counters rif)
/linux-6.1.9/Documentation/devicetree/bindings/media/
Drenesas,drif.yaml176 drif00: rif@e6f40000 {
198 drif01: rif@e6f50000 {
233 drif10: rif@e6f60000 {
247 drif11: rif@e6f70000 {
/linux-6.1.9/include/uapi/linux/
Datm.h147 unsigned int rif : 4; /* Rate Increment Factor (4-bit) */ member
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_router_hw.h51 void *rif; member
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.1.9/drivers/media/tuners/
Dtda9887.c336 static char *rif[4] = { in dump_write_message() local
376 rif[(buf[3] & 0x0c) >> 2]); in dump_write_message()
/linux-6.1.9/arch/arm64/boot/dts/renesas/
Dr8a77990.dtsi1350 drif00: rif@e6f40000 {
1365 drif01: rif@e6f50000 {
1380 drif10: rif@e6f60000 {
1395 drif11: rif@e6f70000 {
1410 drif20: rif@e6f80000 {
1425 drif21: rif@e6f90000 {
1440 drif30: rif@e6fa0000 {
1455 drif31: rif@e6fb0000 {
Dr8a77965.dtsi1614 drif00: rif@e6f40000 {
1629 drif01: rif@e6f50000 {
1644 drif10: rif@e6f60000 {
1659 drif11: rif@e6f70000 {
1674 drif20: rif@e6f80000 {
1689 drif21: rif@e6f90000 {
1704 drif30: rif@e6fa0000 {
1719 drif31: rif@e6fb0000 {
Dr8a77960.dtsi1751 drif00: rif@e6f40000 {
1766 drif01: rif@e6f50000 {
1781 drif10: rif@e6f60000 {
1796 drif11: rif@e6f70000 {
1811 drif20: rif@e6f80000 {
1826 drif21: rif@e6f90000 {
1841 drif30: rif@e6fa0000 {
1856 drif31: rif@e6fb0000 {
Dr8a77951.dtsi1879 drif00: rif@e6f40000 {
1894 drif01: rif@e6f50000 {
1909 drif10: rif@e6f60000 {
1924 drif11: rif@e6f70000 {
1939 drif20: rif@e6f80000 {
1954 drif21: rif@e6f90000 {
1969 drif30: rif@e6fa0000 {
1984 drif31: rif@e6fb0000 {
/linux-6.1.9/drivers/atm/
Diphase.c366 srv_p->rif = 0xf; in init_abr_vc()
414 if (srv_p->rif > MAX_RIF) in ia_open_abr_vc()
448 air = srv_p->pcr << (15 - srv_p->rif); in ia_open_abr_vc()
1859 if (vcc->qos.txtp.rif)
1860 srv_p.rif = vcc->qos.txtp.rif;
Diphase.h833 u8 rif; /* Rate Increment Factor (4-bit) */ member
/linux-6.1.9/arch/mips/include/asm/octeon/
Dcvmx-pko-defs.h1266 uint64_t rif:1; member
1286 uint64_t rif:1;