| /linux-6.15/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum.h | 240 int (*get_ts_info)(struct mlxsw_sp *mlxsw_sp, 250 int (*init)(struct mlxsw_sp *mlxsw_sp); 251 void (*fini)(struct mlxsw_sp *mlxsw_sp); 317 struct mlxsw_sp *mlxsw_sp; member 394 mlxsw_sp_port_bitmap_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_port_bitmap_init() argument 882 struct mlxsw_sp *mlxsw_sp; member 1090 int mlxsw_sp_acl_init(struct mlxsw_sp *mlxsw_sp); 1129 int (*entry_add)(struct mlxsw_sp *mlxsw_sp, 1133 void (*entry_del)(struct mlxsw_sp *mlxsw_sp, 1165 int (*sample_add)(struct mlxsw_sp *mlxsw_sp, [all …]
|
| H A D | spectrum.c | 244 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vid_stp_set() local 274 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_admin_status_set() local 286 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_dev_addr_set() local 296 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_dev_addr_init() local 306 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mtu_set() local 326 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vp_mode_set() local 336 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vid_learning_set() local 352 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_security_set() local 387 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_egress_ethtype_set() local 403 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in __mlxsw_sp_port_pvid_set() local [all …]
|
| H A D | spectrum_router.c | 85 struct mlxsw_sp *mlxsw_sp; member 277 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_rif_counter_fetch_clear() local 330 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_rif_counter_alloc() local 367 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_rif_counter_free() local 385 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_rif_counters_alloc() local 1649 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_rif_ipip_lb_op() local 8693 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_rif_destroy() local 9060 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_rif_mac_profile_is_shared() local 9074 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_rif_mac_profile_edit() local 9719 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_router_port_pre_changeaddr_event() local [all …]
|
| H A D | spectrum_acl_tcam.h | 28 size_t mlxsw_sp_acl_tcam_priv_size(struct mlxsw_sp *mlxsw_sp); 29 int mlxsw_sp_acl_tcam_init(struct mlxsw_sp *mlxsw_sp, 31 void mlxsw_sp_acl_tcam_fini(struct mlxsw_sp *mlxsw_sp, 33 int mlxsw_sp_acl_tcam_priority_get(struct mlxsw_sp *mlxsw_sp, 39 int (*ruleset_add)(struct mlxsw_sp *mlxsw_sp, 52 int (*rule_add)(struct mlxsw_sp *mlxsw_sp, 63 mlxsw_sp_acl_tcam_profile_ops(struct mlxsw_sp *mlxsw_sp, 85 struct mlxsw_sp *mlxsw_sp; member 276 int mlxsw_sp_acl_erps_init(struct mlxsw_sp *mlxsw_sp, 290 mlxsw_sp_acl_bf_entry_add(struct mlxsw_sp *mlxsw_sp, [all …]
|
| H A D | spectrum_acl_flex_actions.c | 11 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_act_kvdl_set_add() local 56 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_act_kvdl_set_del() local 73 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp2_act_kvdl_set_activity_get() local 88 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_act_kvdl_fwd_entry_add() local 112 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_act_kvdl_fwd_entry_del() local 121 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_act_counter_index_get() local 129 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_act_counter_index_put() local 141 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_act_mirror_add() local 165 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_act_mirror_del() local 177 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_act_policer_add() local [all …]
|
| H A D | spectrum_nve.c | 66 struct mlxsw_sp *mlxsw_sp; member 202 mlxsw_sp_nve_mc_list_find(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_find() argument 250 mlxsw_sp_nve_mc_list_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_get() argument 263 mlxsw_sp_nve_mc_list_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_put() argument 291 mc_record->mlxsw_sp = mlxsw_sp; in mlxsw_sp_nve_mc_record_create() 306 struct mlxsw_sp *mlxsw_sp = mc_record->mlxsw_sp; in mlxsw_sp_nve_mc_record_destroy() local 365 struct mlxsw_sp *mlxsw_sp = mc_record->mlxsw_sp; in mlxsw_sp_nve_mc_record_refresh() local 1017 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_nve_init() local 1117 int mlxsw_sp_nve_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_init() argument 1126 nve->mlxsw_sp = mlxsw_sp; in mlxsw_sp_nve_init() [all …]
|
| H A D | spectrum_pgt.c | 28 int mlxsw_sp_pgt_mid_alloc(struct mlxsw_sp *mlxsw_sp, u16 *p_mid) in mlxsw_sp_pgt_mid_alloc() argument 50 void mlxsw_sp_pgt_mid_free(struct mlxsw_sp *mlxsw_sp, u16 mid_base) in mlxsw_sp_pgt_mid_free() argument 57 int mlxsw_sp_pgt_mid_alloc_range(struct mlxsw_sp *mlxsw_sp, u16 *p_mid_base, in mlxsw_sp_pgt_mid_alloc_range() argument 183 mlxsw_sp_pgt_entry_port_write(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_pgt_entry_port_write() argument 207 mlxsw_sp_pgt_entry_port_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_pgt_entry_port_create() argument 234 mlxsw_sp_pgt_entry_port_destroy(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_pgt_entry_port_destroy() argument 277 static void mlxsw_sp_pgt_entry_port_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_pgt_entry_port_del() argument 300 int mlxsw_sp_pgt_entry_port_set(struct mlxsw_sp *mlxsw_sp, u16 mid, in mlxsw_sp_pgt_entry_port_set() argument 311 int mlxsw_sp_pgt_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_pgt_init() argument 326 mlxsw_sp->pgt = pgt; in mlxsw_sp_pgt_init() [all …]
|
| H A D | spectrum_ptp.h | 10 struct mlxsw_sp; 17 mlxsw_sp1_ptp_clock_init(struct mlxsw_sp *mlxsw_sp, struct device *dev); 21 struct mlxsw_sp_ptp_state *mlxsw_sp1_ptp_init(struct mlxsw_sp *mlxsw_sp); 25 void mlxsw_sp1_ptp_receive(struct mlxsw_sp *mlxsw_sp, struct sk_buff *skb, 28 void mlxsw_sp1_ptp_transmitted(struct mlxsw_sp *mlxsw_sp, 44 int mlxsw_sp1_ptp_get_ts_info(struct mlxsw_sp *mlxsw_sp, 64 void mlxsw_sp2_ptp_transmitted(struct mlxsw_sp *mlxsw_sp, 73 int mlxsw_sp2_ptp_get_ts_info(struct mlxsw_sp *mlxsw_sp, 89 mlxsw_sp1_ptp_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_ptp_init() argument 98 static inline void mlxsw_sp1_ptp_receive(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_receive() argument [all …]
|
| H A D | spectrum_acl_tcam.c | 24 size_t mlxsw_sp_acl_tcam_priv_size(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_acl_tcam_priv_size() argument 35 int mlxsw_sp_acl_tcam_priority_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_priority_get() argument 161 struct mlxsw_sp *mlxsw_sp; member 257 mlxsw_sp_acl_tcam_vgroup_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_vgroup_add() argument 307 mlxsw_sp_acl_tcam_group_bind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_group_bind() argument 322 mlxsw_sp_acl_tcam_group_unbind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_group_unbind() argument 644 region->mlxsw_sp = mlxsw_sp; in mlxsw_sp_acl_tcam_region_create() 787 vregion->mlxsw_sp = mlxsw_sp; in mlxsw_sp_acl_tcam_vregion_create() 1496 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_acl_tcam_region_rehash_intrvl_get() local 1513 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_acl_tcam_region_rehash_intrvl_set() local [all …]
|
| H A D | spectrum_nve_vxlan.c | 194 mlxsw_sp1_nve_vxlan_config_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_nve_vxlan_config_set() argument 213 static void mlxsw_sp1_nve_vxlan_config_clear(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_nve_vxlan_config_clear() argument 222 static int mlxsw_sp1_nve_vxlan_rtdp_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_nve_vxlan_rtdp_set() argument 235 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp1_nve_vxlan_init() local 276 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp1_nve_vxlan_fini() local 324 mlxsw_sp2_nve_decap_ethertype_set(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_nve_decap_ethertype_set() argument 336 mlxsw_sp2_nve_vxlan_config_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_nve_vxlan_config_set() argument 398 mlxsw_sp_router_ul_rif_put(mlxsw_sp, mlxsw_sp->nve->ul_rif_index); in mlxsw_sp2_nve_vxlan_config_clear() 401 static int mlxsw_sp2_nve_vxlan_rtdp_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_nve_vxlan_rtdp_set() argument 416 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp2_nve_vxlan_init() local [all …]
|
| H A D | spectrum_buffers.c | 401 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_hdroom_bufs_reset_sizes() local 455 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_hdroom_configure_buffers() local 604 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_headroom_init() local 995 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_sb_cms_init() local 1100 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_sb_pms_init() local 1448 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_sb_port_pool_get() local 1464 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_sb_port_pool_set() local 1490 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_sb_tc_pool_bind_get() local 1511 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_sb_tc_pool_bind_set() local 1771 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_sb_occ_port_pool_get() local [all …]
|
| H A D | spectrum_mr_tcam.c | 33 mlxsw_sp_mr_erif_sublist_full(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_erif_sublist_full() argument 49 mlxsw_sp_mr_erif_sublist_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_erif_sublist_create() argument 70 mlxsw_sp_mr_erif_sublist_destroy(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_erif_sublist_destroy() argument 80 mlxsw_sp_mr_erif_list_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_erif_list_add() argument 113 mlxsw_sp_mr_erif_list_flush(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_erif_list_flush() argument 124 mlxsw_sp_mr_erif_list_commit(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_erif_list_commit() argument 192 mlxsw_sp_mr_tcam_afa_block_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_tcam_afa_block_create() argument 260 mlxsw_sp_mr_tcam_erif_populate(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_tcam_erif_populate() argument 279 mlxsw_sp_mr_tcam_route_create(struct mlxsw_sp *mlxsw_sp, void *priv, in mlxsw_sp_mr_tcam_route_create() argument 357 static int mlxsw_sp_mr_tcam_route_stats(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_tcam_route_stats() argument [all …]
|
| H A D | spectrum_mr.h | 44 int (*init)(struct mlxsw_sp *mlxsw_sp, void *priv); 45 int (*route_create)(struct mlxsw_sp *mlxsw_sp, void *priv, 48 int (*route_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 50 int (*route_stats)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 56 int (*route_irif_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 58 int (*route_erif_add)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 60 int (*route_erif_del)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 62 void (*route_destroy)(struct mlxsw_sp *mlxsw_sp, void *priv, 64 void (*fini)(struct mlxsw_sp *mlxsw_sp, void *priv); 70 int mlxsw_sp_mr_init(struct mlxsw_sp *mlxsw_sp, [all …]
|
| H A D | spectrum_span.c | 23 struct mlxsw_sp *mlxsw_sp; member 99 span->mlxsw_sp = mlxsw_sp; in mlxsw_sp_span_init() 181 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_phys_configure() local 201 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_deconfigure_common() local 482 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_gretap4_configure() local 587 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_gretap6_configure() local 653 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_vlan_configure() local 813 struct mlxsw_sp *mlxsw_sp = span->mlxsw_sp; in mlxsw_sp_span_policer_id_base_set() local 1167 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_span_analyzed_port_get() local 1195 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_span_analyzed_port_put() local [all …]
|
| H A D | spectrum_span.h | 13 struct mlxsw_sp; 65 int (*init)(struct mlxsw_sp *mlxsw_sp); 66 int (*policer_id_base_set)(struct mlxsw_sp *mlxsw_sp, 81 int (*parms_set)(struct mlxsw_sp *mlxsw_sp, 89 int mlxsw_sp_span_init(struct mlxsw_sp *mlxsw_sp); 90 void mlxsw_sp_span_fini(struct mlxsw_sp *mlxsw_sp); 91 void mlxsw_sp_span_respin(struct mlxsw_sp *mlxsw_sp); 94 mlxsw_sp_span_entry_find_by_port(struct mlxsw_sp *mlxsw_sp, 96 void mlxsw_sp_span_entry_invalidate(struct mlxsw_sp *mlxsw_sp, 105 int mlxsw_sp_span_agent_bind(struct mlxsw_sp *mlxsw_sp, [all …]
|
| H A D | spectrum_dpipe.c | 199 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_dpipe_table_erif_entries_dump() local 259 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_dpipe_table_erif_counters_update() local 281 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_dpipe_table_erif_size_get() local 653 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_dpipe_table_host4_entries_dump() local 693 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_dpipe_table_host4_counters_update() local 732 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_dpipe_table_host4_size_get() local 792 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_dpipe_table_host6_entries_dump() local 801 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_dpipe_table_host6_counters_update() local 809 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_dpipe_table_host6_size_get() local 1153 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_dpipe_table_adj_entries_dump() local [all …]
|
| H A D | spectrum_acl.c | 25 struct mlxsw_sp *mlxsw_sp; member 106 int mlxsw_sp_acl_ruleset_bind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_bind() argument 166 mlxsw_sp_acl_ruleset_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_create() argument 253 mlxsw_sp_acl_ruleset_lookup(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_lookup() argument 271 mlxsw_sp_acl_ruleset_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_get() argument 431 if (mlxsw_sp_port->mlxsw_sp != mlxsw_sp) { in mlxsw_sp_acl_rulei_act_fwd() 814 mlxsw_sp_acl_rule_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_rule_create() argument 939 mlxsw_sp_acl_rule_lookup(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_rule_lookup() argument 1052 int mlxsw_sp_acl_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_acl_init() argument 1064 acl->mlxsw_sp = mlxsw_sp; in mlxsw_sp_acl_init() [all …]
|
| H A D | spectrum1_acl_tcam.c | 50 static int mlxsw_sp1_acl_tcam_init(struct mlxsw_sp *mlxsw_sp, void *priv, in mlxsw_sp1_acl_tcam_init() argument 56 static void mlxsw_sp1_acl_tcam_fini(struct mlxsw_sp *mlxsw_sp, void *priv) in mlxsw_sp1_acl_tcam_fini() argument 61 mlxsw_sp1_acl_ctcam_region_catchall_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_ctcam_region_catchall_add() argument 100 mlxsw_sp1_acl_ctcam_region_catchall_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_ctcam_region_catchall_del() argument 113 mlxsw_sp1_acl_tcam_region_init(struct mlxsw_sp *mlxsw_sp, void *region_priv, in mlxsw_sp1_acl_tcam_region_init() argument 147 mlxsw_sp1_acl_tcam_region_associate(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_tcam_region_associate() argument 170 static int mlxsw_sp1_acl_tcam_entry_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_tcam_entry_add() argument 184 static void mlxsw_sp1_acl_tcam_entry_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_tcam_entry_del() argument 197 mlxsw_sp1_acl_tcam_entry_action_replace(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_tcam_entry_action_replace() argument 205 mlxsw_sp1_acl_tcam_region_entry_activity_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_tcam_region_entry_activity_get() argument [all …]
|
| H A D | spectrum_trap.c | 93 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_rx_drop_listener() local 119 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_rx_acl_drop_listener() local 146 struct mlxsw_sp *mlxsw_sp; in __mlxsw_sp_rx_no_mark_listener() local 197 struct mlxsw_sp *mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_ptp_listener() local 212 mlxsw_sp_sample_tx_port_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_sample_tx_port_get() argument 263 struct mlxsw_sp *mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_sample_listener() local 300 struct mlxsw_sp *mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_sample_tx_listener() local 349 struct mlxsw_sp *mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_sample_acl_listener() local 1483 static int mlxsw_sp_traps_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_traps_init() argument 1903 mlxsw_sp1_trap_groups_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_trap_groups_init() argument [all …]
|
| H A D | spectrum_acl_ctcam.c | 14 mlxsw_sp_acl_ctcam_region_resize(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_region_resize() argument 27 mlxsw_sp_acl_ctcam_region_move(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_region_move() argument 40 mlxsw_sp_acl_ctcam_region_entry_insert(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_region_entry_insert() argument 87 mlxsw_sp_acl_ctcam_region_entry_remove(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_region_entry_remove() argument 101 mlxsw_sp_acl_ctcam_region_entry_action_replace(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_region_entry_action_replace() argument 126 struct mlxsw_sp *mlxsw_sp = region->mlxsw_sp; in mlxsw_sp_acl_ctcam_region_parman_resize() local 142 struct mlxsw_sp *mlxsw_sp = region->mlxsw_sp; in mlxsw_sp_acl_ctcam_region_parman_move() local 157 mlxsw_sp_acl_ctcam_region_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_region_init() argument 188 int mlxsw_sp_acl_ctcam_entry_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_entry_add() argument 214 void mlxsw_sp_acl_ctcam_entry_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_entry_del() argument [all …]
|
| H A D | spectrum_kvdl.c | 17 int mlxsw_sp_kvdl_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_kvdl_init() argument 29 mlxsw_sp->kvdl = kvdl; in mlxsw_sp_kvdl_init() 31 err = kvdl_ops->init(mlxsw_sp, kvdl->priv); in mlxsw_sp_kvdl_init() 42 void mlxsw_sp_kvdl_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_kvdl_fini() argument 44 struct mlxsw_sp_kvdl *kvdl = mlxsw_sp->kvdl; in mlxsw_sp_kvdl_fini() 46 kvdl->kvdl_ops->fini(mlxsw_sp, kvdl->priv); in mlxsw_sp_kvdl_fini() 51 int mlxsw_sp_kvdl_alloc(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_kvdl_alloc() argument 55 struct mlxsw_sp_kvdl *kvdl = mlxsw_sp->kvdl; in mlxsw_sp_kvdl_alloc() 66 void mlxsw_sp_kvdl_free(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_kvdl_free() argument 70 struct mlxsw_sp_kvdl *kvdl = mlxsw_sp->kvdl; in mlxsw_sp_kvdl_free() [all …]
|
| H A D | spectrum_router.h | 22 struct mlxsw_sp *mlxsw_sp; member 99 int mlxsw_sp_rif_counter_value_get(struct mlxsw_sp *mlxsw_sp, 120 int mlxsw_sp_neigh_counter_get(struct mlxsw_sp *mlxsw_sp, 124 mlxsw_sp_neigh_entry_counter_update(struct mlxsw_sp *mlxsw_sp, 137 mlxsw_sp_ipip_demote_tunnel_by_saddr(struct mlxsw_sp *mlxsw_sp, 153 int mlxsw_sp_nexthop_counter_get(struct mlxsw_sp *mlxsw_sp, 158 int mlxsw_sp_nexthop_counter_enable(struct mlxsw_sp *mlxsw_sp, 160 void mlxsw_sp_nexthop_counter_disable(struct mlxsw_sp *mlxsw_sp, 169 int mlxsw_sp_ipip_ecn_encap_init(struct mlxsw_sp *mlxsw_sp); 170 int mlxsw_sp_ipip_ecn_decap_init(struct mlxsw_sp *mlxsw_sp); [all …]
|
| H A D | spectrum_switchdev.c | 29 struct mlxsw_sp *mlxsw_sp; member 962 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_ageing_set() local 977 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_vlan_set() local 995 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_vlan_proto_set() local 1049 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mc_disabled_set() local 1264 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_mrouter_set() local 1584 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vlans_add() local 1858 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_fdb_set() local 2181 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mdb_add() local 2238 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mrouter_update_mdb() local [all …]
|
| H A D | spectrum_fid.c | 139 struct mlxsw_sp *mlxsw_sp; member 291 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_vni_set() local 324 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_vni_clear() local 582 struct mlxsw_sp *mlxsw_sp = fid->fid_family->mlxsw_sp; in mlxsw_sp_fid_op() local 593 struct mlxsw_sp *mlxsw_sp = fid->fid_family->mlxsw_sp; in mlxsw_sp_fid_edit_op() local 1120 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_fid_8021d_port_vid_map() local 1210 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_flood_table_init_ctl() local 1576 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_rfid_port_memb_ft_cff() local 2069 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_put() local 2122 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_flood_tables_init() local [all …]
|
| /linux-6.15/include/trace/events/ |
| H A D | mlxsw.h | 12 struct mlxsw_sp; 17 TP_PROTO(const struct mlxsw_sp *mlxsw_sp, 28 __entry->mlxsw_sp = mlxsw_sp; 37 TP_PROTO(const struct mlxsw_sp *mlxsw_sp, 48 __entry->mlxsw_sp = mlxsw_sp; 57 TP_PROTO(const struct mlxsw_sp *mlxsw_sp, 68 __entry->mlxsw_sp = mlxsw_sp; 77 TP_PROTO(const struct mlxsw_sp *mlxsw_sp, 88 __entry->mlxsw_sp = mlxsw_sp; 97 TP_PROTO(const struct mlxsw_sp *mlxsw_sp, [all …]
|