/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 63 struct mlxsw_sp_rif *rif; member 92 static struct net_device *mlxsw_sp_rif_dev(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_dev() argument 94 if (!rif->crif) in mlxsw_sp_rif_dev() 96 return rif->crif->key.dev; in mlxsw_sp_rif_dev() 137 void (*setup)(struct mlxsw_sp_rif *rif, 139 int (*configure)(struct mlxsw_sp_rif *rif, 141 void (*deconfigure)(struct mlxsw_sp_rif *rif); 142 struct mlxsw_sp_fid * (*fid_get)(struct mlxsw_sp_rif *rif, 145 void (*fdb_del)(struct mlxsw_sp_rif *rif, const char *mac); 162 static void mlxsw_sp_rif_destroy(struct mlxsw_sp_rif *rif); [all …]
|
H A D | spectrum_router.h | 92 u16 mlxsw_sp_ipip_lb_rif_index(const struct mlxsw_sp_rif_ipip_lb *rif); 93 u16 mlxsw_sp_ipip_lb_ul_vr_id(const struct mlxsw_sp_rif_ipip_lb *rif); 96 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif); 97 bool mlxsw_sp_rif_has_dev(const struct mlxsw_sp_rif *rif); 98 bool mlxsw_sp_rif_dev_is(const struct mlxsw_sp_rif *rif, 101 struct mlxsw_sp_rif *rif, 104 void mlxsw_sp_rif_counter_free(struct mlxsw_sp_rif *rif, 106 int mlxsw_sp_rif_counter_alloc(struct mlxsw_sp_rif *rif, 109 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif, 118 #define mlxsw_sp_rif_neigh_for_each(neigh_entry, rif) \ argument [all …]
|
H A D | spectrum_dpipe.c | 156 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_has_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 …]
|
H A D | spectrum_fid.c | 33 struct mlxsw_sp_rif *rif; member 97 const struct mlxsw_sp_rif *rif); 382 return fid->rif; in mlxsw_sp_fid_rif() 435 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_edit_op() argument 453 if (rif) { in mlxsw_sp_fid_edit_op() 455 mlxsw_reg_sfmr_irif_set(sfmr_pl, mlxsw_sp_rif_index(rif)); in mlxsw_sp_fid_edit_op() 462 const struct mlxsw_sp_rif *rif, in mlxsw_sp_fid_vni_to_fid_map() argument 470 irif_valid = !!rif; in mlxsw_sp_fid_vni_to_fid_map() 471 irif_index = rif ? mlxsw_sp_rif_index(rif) : 0; in mlxsw_sp_fid_vni_to_fid_map() 479 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_to_fid_rif_update() argument [all …]
|
H A D | spectrum_mr.c | 29 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 …]
|
H A D | spectrum_mr.h | 80 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 D | reg.h | 6773 MLXSW_ITEM32(reg, ritr, rif, 0x00, 0, 16); 7049 static inline void mlxsw_reg_ritr_rif_pack(char *payload, u16 rif) in mlxsw_reg_ritr_rif_pack() argument 7052 mlxsw_reg_ritr_rif_set(payload, rif); in mlxsw_reg_ritr_rif_pack() 7066 u16 rif, u16 vr_id, u16 mtu) in mlxsw_reg_ritr_pack() argument 7078 mlxsw_reg_ritr_rif_set(payload, rif); in mlxsw_reg_ritr_pack() 7094 mlxsw_reg_ritr_vlan_if_pack(char *payload, bool enable, u16 rif, u16 vr_id, in mlxsw_reg_ritr_vlan_if_pack() argument 7100 mlxsw_reg_ritr_pack(payload, enable, type, rif, vr_id, mtu); in mlxsw_reg_ritr_vlan_if_pack() 8159 MLXSW_ITEM32(reg, rauht, rif, 0x00, 0, 16); 8214 enum mlxsw_reg_rauht_op op, u16 rif, in mlxsw_reg_rauht_pack() argument 8219 mlxsw_reg_rauht_rif_set(payload, rif); in mlxsw_reg_rauht_pack() [all …]
|
H A D | spectrum.h | 754 u16 mlxsw_sp_rif_index(const struct mlxsw_sp_rif *rif); 1301 int mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif);
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | rif_counter_scale.sh | 12 max_cnts=$(devlink_resource_size_get counters rif)
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | rif_counter_scale.sh | 12 max_cnts=$(devlink_resource_size_get counters rif)
|
/openbmc/linux/include/uapi/linux/ |
H A D | atm.h | 147 unsigned int rif : 4; /* Rate Increment Factor (4-bit) */ member
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router_hw.h | 51 void *rif; member
|
H A D | prestera_router.c | 129 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()
|
/openbmc/linux/drivers/media/tuners/ |
H A D | tda9887.c | 336 static char *rif[4] = { in dump_write_message() local 376 rif[(buf[3] & 0x0c) >> 2]); in dump_write_message()
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
H A D | r8a77990.dtsi | 1347 drif00: rif@e6f40000 { 1362 drif01: rif@e6f50000 { 1377 drif10: rif@e6f60000 { 1392 drif11: rif@e6f70000 { 1407 drif20: rif@e6f80000 { 1422 drif21: rif@e6f90000 { 1437 drif30: rif@e6fa0000 { 1452 drif31: rif@e6fb0000 {
|
H A D | r8a77965.dtsi | 1612 drif00: rif@e6f40000 { 1627 drif01: rif@e6f50000 { 1642 drif10: rif@e6f60000 { 1657 drif11: rif@e6f70000 { 1672 drif20: rif@e6f80000 { 1687 drif21: rif@e6f90000 { 1702 drif30: rif@e6fa0000 { 1717 drif31: rif@e6fb0000 {
|
H A D | r8a77960.dtsi | 1749 drif00: rif@e6f40000 { 1764 drif01: rif@e6f50000 { 1779 drif10: rif@e6f60000 { 1794 drif11: rif@e6f70000 { 1809 drif20: rif@e6f80000 { 1824 drif21: rif@e6f90000 { 1839 drif30: rif@e6fa0000 { 1854 drif31: rif@e6fb0000 {
|
H A D | r8a77951.dtsi | 1878 drif00: rif@e6f40000 { 1893 drif01: rif@e6f50000 { 1908 drif10: rif@e6f60000 { 1923 drif11: rif@e6f70000 { 1938 drif20: rif@e6f80000 { 1953 drif21: rif@e6f90000 { 1968 drif30: rif@e6fa0000 { 1983 drif31: rif@e6fb0000 {
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | r8a7796.dtsi | 1536 drif00: rif@e6f40000 { 1551 drif01: rif@e6f50000 { 1566 drif10: rif@e6f60000 { 1581 drif11: rif@e6f70000 { 1596 drif20: rif@e6f80000 { 1611 drif21: rif@e6f90000 { 1626 drif30: rif@e6fa0000 { 1641 drif31: rif@e6fb0000 {
|
H A D | r8a7795.dtsi | 1662 drif00: rif@e6f40000 { 1677 drif01: rif@e6f50000 { 1692 drif10: rif@e6f60000 { 1707 drif11: rif@e6f70000 { 1722 drif20: rif@e6f80000 { 1737 drif21: rif@e6f90000 { 1752 drif30: rif@e6fa0000 { 1767 drif31: rif@e6fb0000 {
|
/openbmc/linux/drivers/atm/ |
H A D | iphase.c | 366 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;
|
H A D | iphase.h | 833 u8 rif; /* Rate Increment Factor (4-bit) */ member
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pko-defs.h | 1266 uint64_t rif:1; member 1286 uint64_t rif:1;
|