/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_router.c | 66 struct mlxsw_sp *mlxsw_sp; member 250 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_rif_counter_fetch_clear() local 2667 struct mlxsw_sp *mlxsw_sp; member 2773 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_router_netevent_event() local 7337 struct mlxsw_sp *mlxsw_sp; member 7585 struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_router_fib_rule_event() 8882 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_inetaddr_valid_event() local 8903 struct mlxsw_sp *mlxsw_sp; member 8965 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_inet6addr_valid_event() local 9164 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_netdevice_router_port_event() local [all …]
|
A D | spectrum.c | 346 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vid_stp_set() local 376 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_admin_status_set() local 388 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_dev_addr_set() local 1999 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_port_mapping_events_work() local 2046 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_port_mapping_listener_func() local 2386 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_pude_event_func() local 2438 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp1_ptp_ing_fifo_event_func() local 2446 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp1_ptp_egr_fifo_event_func() local 2454 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_rx_listener_no_mark_func() local 4609 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_netdevice_port_upper_event() local [all …]
|
A D | spectrum_acl_tcam.c | 22 size_t mlxsw_sp_acl_tcam_priv_size(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_acl_tcam_priv_size() 33 int mlxsw_sp_acl_tcam_priority_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_priority_get() 157 struct mlxsw_sp *mlxsw_sp; member 253 mlxsw_sp_acl_tcam_vgroup_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_vgroup_add() 303 mlxsw_sp_acl_tcam_group_bind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_group_bind() 318 mlxsw_sp_acl_tcam_group_unbind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_group_unbind() 998 mlxsw_sp_acl_tcam_vchunk_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_vchunk_get() 1456 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_acl_tcam_region_rehash_intrvl_get() local 1472 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_acl_tcam_region_rehash_intrvl_set() local 1525 int mlxsw_sp_acl_tcam_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_init() [all …]
|
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() 212 mlxsw_sp_nve_mc_list_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_create() 250 mlxsw_sp_nve_mc_list_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_get() 263 mlxsw_sp_nve_mc_list_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_put() 306 struct mlxsw_sp *mlxsw_sp = mc_record->mlxsw_sp; in mlxsw_sp_nve_mc_record_destroy() local 316 mlxsw_sp_nve_mc_record_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_record_get() 365 struct mlxsw_sp *mlxsw_sp = mc_record->mlxsw_sp; in mlxsw_sp_nve_mc_record_refresh() local 1016 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_nve_init() local 1116 int mlxsw_sp_nve_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_init() [all …]
|
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() 263 struct mlxsw_sp *mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_sample_listener() local 1483 static int mlxsw_sp_traps_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_traps_init() 1513 static void mlxsw_sp_traps_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_traps_fini() 1528 int mlxsw_sp_devlink_traps_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_devlink_traps_init() 1903 mlxsw_sp1_trap_groups_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_trap_groups_init() [all …]
|
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() 49 mlxsw_sp_mr_erif_sublist_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_erif_sublist_create() 70 mlxsw_sp_mr_erif_sublist_destroy(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_erif_sublist_destroy() 80 mlxsw_sp_mr_erif_list_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_erif_list_add() 113 mlxsw_sp_mr_erif_list_flush(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_erif_list_flush() 124 mlxsw_sp_mr_erif_list_commit(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_erif_list_commit() 192 mlxsw_sp_mr_tcam_afa_block_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_tcam_afa_block_create() 260 mlxsw_sp_mr_tcam_erif_populate(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_tcam_erif_populate() 279 mlxsw_sp_mr_tcam_route_create(struct mlxsw_sp *mlxsw_sp, void *priv, in mlxsw_sp_mr_tcam_route_create() 357 static int mlxsw_sp_mr_tcam_route_stats(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mr_tcam_route_stats() [all …]
|
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 …]
|
A D | spectrum_nve_vxlan.c | 192 mlxsw_sp1_nve_vxlan_config_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_nve_vxlan_config_set() 211 static void mlxsw_sp1_nve_vxlan_config_clear(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_nve_vxlan_config_clear() 220 static int mlxsw_sp1_nve_vxlan_rtdp_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_nve_vxlan_rtdp_set() 233 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp1_nve_vxlan_init() local 274 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp1_nve_vxlan_fini() local 311 static bool mlxsw_sp2_nve_vxlan_learning_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_nve_vxlan_learning_set() 322 mlxsw_sp2_nve_decap_ethertype_set(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_nve_decap_ethertype_set() 334 mlxsw_sp2_nve_vxlan_config_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_nve_vxlan_config_set() 399 static int mlxsw_sp2_nve_vxlan_rtdp_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_nve_vxlan_rtdp_set() 414 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp2_nve_vxlan_init() local [all …]
|
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 …]
|
A D | spectrum_ipip.c | 184 mlxsw_sp_ipip_decap_config_gre4(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_ipip_decap_config_gre4() 271 mlxsw_sp_ipip_ol_netdev_change_gre(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_ipip_ol_netdev_change_gre() 327 mlxsw_sp_ipip_ol_netdev_change_gre4(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_ipip_ol_netdev_change_gre4() 339 mlxsw_sp_ipip_rem_addr_set_gre4(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_ipip_rem_addr_set_gre4() 346 mlxsw_sp_ipip_rem_addr_unset_gre4(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_ipip_rem_addr_unset_gre4() 399 mlxsw_sp_ipip_decap_config_gre6(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_ipip_decap_config_gre6() 470 mlxsw_sp_ipip_ol_netdev_change_gre6(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_ipip_ol_netdev_change_gre6() 482 mlxsw_sp_ipip_rem_addr_set_gre6(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_ipip_rem_addr_set_gre6() 491 mlxsw_sp_ipip_rem_addr_unset_gre6(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_ipip_rem_addr_unset_gre6() 545 int mlxsw_sp_ipip_ecn_encap_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_ipip_ecn_encap_init() [all …]
|
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() 27 mlxsw_sp_acl_ctcam_region_move(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_region_move() 40 mlxsw_sp_acl_ctcam_region_entry_insert(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_region_entry_insert() 87 mlxsw_sp_acl_ctcam_region_entry_remove(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_region_entry_remove() 101 mlxsw_sp_acl_ctcam_region_entry_action_replace(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_region_entry_action_replace() 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() 188 int mlxsw_sp_acl_ctcam_entry_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_entry_add() 214 void mlxsw_sp_acl_ctcam_entry_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ctcam_entry_del() [all …]
|
A D | spectrum_acl.c | 24 struct mlxsw_sp *mlxsw_sp; member 105 int mlxsw_sp_acl_ruleset_bind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_bind() 165 mlxsw_sp_acl_ruleset_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_create() 252 mlxsw_sp_acl_ruleset_lookup(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_lookup() 270 mlxsw_sp_acl_ruleset_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_get() 797 mlxsw_sp_acl_rule_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_rule_create() 842 int mlxsw_sp_acl_rule_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_rule_add() 886 void mlxsw_sp_acl_rule_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_rule_del() 922 mlxsw_sp_acl_rule_lookup(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_rule_lookup() 1035 int mlxsw_sp_acl_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_acl_init() [all …]
|
A D | spectrum.h | 160 struct mlxsw_sp { struct 166 struct mlxsw_sp_upper *lags; argument 170 struct mlxsw_sp_sb *sb; argument 173 struct mlxsw_sp_mr *mr; argument 175 struct mlxsw_sp_acl *acl; argument 178 struct mlxsw_sp_kvdl *kvdl; argument 179 struct mlxsw_sp_nve *nve; argument 181 struct mlxsw_sp_ptp_clock *clock; argument 191 const struct mlxsw_sp_mr_tcam_ops *mr_tcam_ops; argument 211 struct mlxsw_sp_pgt *pgt; argument [all …]
|
A D | spectrum_buffers.c | 401 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_hdroom_bufs_reset_sizes() local 453 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_hdroom_configure_buffers() local 602 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_headroom_init() local 991 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_sb_cms_init() local 1096 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_sb_pms_init() local 1247 int mlxsw_sp_buffers_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_buffers_init() 1315 void mlxsw_sp_buffers_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_buffers_fini() 1444 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_sb_port_pool_get() local 1460 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_sb_port_pool_set() local 1486 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_sb_tc_pool_bind_get() local [all …]
|
A D | spectrum_span.c | 23 struct mlxsw_sp *mlxsw_sp; member 75 const struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_span_occ_get() local 80 int mlxsw_sp_span_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_span_init() 121 void mlxsw_sp_span_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_span_fini() 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 586 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_gretap6_configure() local 652 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_vlan_configure() local 812 struct mlxsw_sp *mlxsw_sp = span->mlxsw_sp; in mlxsw_sp_span_policer_id_base_set() local [all …]
|
A D | spectrum_ptp.h | 97 mlxsw_sp1_ptp_clock_init(struct mlxsw_sp *mlxsw_sp, struct device *dev) in mlxsw_sp1_ptp_clock_init() 107 mlxsw_sp1_ptp_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_ptp_init() 116 static inline void mlxsw_sp1_ptp_receive(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_receive() 122 static inline void mlxsw_sp1_ptp_transmitted(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_transmitted() 129 mlxsw_sp1_ptp_got_timestamp(struct mlxsw_sp *mlxsw_sp, bool ingress, in mlxsw_sp1_ptp_got_timestamp() 154 static inline int mlxsw_sp1_ptp_get_ts_info(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_get_ts_info() 184 mlxsw_sp2_ptp_clock_init(struct mlxsw_sp *mlxsw_sp, struct device *dev) in mlxsw_sp2_ptp_clock_init() 194 mlxsw_sp2_ptp_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_ptp_init() 203 static inline void mlxsw_sp2_ptp_receive(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_ptp_receive() 209 static inline void mlxsw_sp2_ptp_transmitted(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_ptp_transmitted() [all …]
|
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() 56 static void mlxsw_sp1_acl_tcam_fini(struct mlxsw_sp *mlxsw_sp, void *priv) in mlxsw_sp1_acl_tcam_fini() 61 mlxsw_sp1_acl_ctcam_region_catchall_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_ctcam_region_catchall_add() 100 mlxsw_sp1_acl_ctcam_region_catchall_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_ctcam_region_catchall_del() 113 mlxsw_sp1_acl_tcam_region_init(struct mlxsw_sp *mlxsw_sp, void *region_priv, in mlxsw_sp1_acl_tcam_region_init() 147 mlxsw_sp1_acl_tcam_region_associate(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_tcam_region_associate() 170 static int mlxsw_sp1_acl_tcam_entry_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_tcam_entry_add() 184 static void mlxsw_sp1_acl_tcam_entry_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_tcam_entry_del() 197 mlxsw_sp1_acl_tcam_entry_action_replace(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_tcam_entry_action_replace() 205 mlxsw_sp1_acl_tcam_region_entry_activity_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_acl_tcam_region_entry_activity_get() [all …]
|
A D | spectrum1_mr_tcam.c | 13 struct mlxsw_sp *mlxsw_sp; member 28 static int mlxsw_sp1_mr_tcam_route_replace(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_mr_tcam_route_replace() 60 static int mlxsw_sp1_mr_tcam_route_remove(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_mr_tcam_route_remove() 122 mlxsw_sp1_mr_tcam_route_create(struct mlxsw_sp *mlxsw_sp, void *priv, in mlxsw_sp1_mr_tcam_route_create() 149 mlxsw_sp1_mr_tcam_route_destroy(struct mlxsw_sp *mlxsw_sp, void *priv, in mlxsw_sp1_mr_tcam_route_destroy() 161 mlxsw_sp1_mr_tcam_route_update(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_mr_tcam_route_update() 178 struct mlxsw_sp *mlxsw_sp = mr_tcam_region->mlxsw_sp; in mlxsw_sp1_mr_tcam_region_alloc() local 190 struct mlxsw_sp *mlxsw_sp = mr_tcam_region->mlxsw_sp; in mlxsw_sp1_mr_tcam_region_free() local 202 struct mlxsw_sp *mlxsw_sp = mr_tcam_region->mlxsw_sp; in mlxsw_sp1_mr_tcam_region_parman_resize() local 220 struct mlxsw_sp *mlxsw_sp = mr_tcam_region->mlxsw_sp; in mlxsw_sp1_mr_tcam_region_parman_move() local [all …]
|
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() 50 void mlxsw_sp_pgt_mid_free(struct mlxsw_sp *mlxsw_sp, u16 mid_base) in mlxsw_sp_pgt_mid_free() 58 mlxsw_sp_pgt_mid_alloc_range(struct mlxsw_sp *mlxsw_sp, u16 mid_base, u16 count) in mlxsw_sp_pgt_mid_alloc_range() 193 mlxsw_sp_pgt_entry_port_write(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_pgt_entry_port_write() 217 mlxsw_sp_pgt_entry_port_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_pgt_entry_port_create() 244 mlxsw_sp_pgt_entry_port_destroy(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_pgt_entry_port_destroy() 255 static int mlxsw_sp_pgt_entry_port_add(struct mlxsw_sp *mlxsw_sp, u16 mid, in mlxsw_sp_pgt_entry_port_add() 287 static void mlxsw_sp_pgt_entry_port_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_pgt_entry_port_del() 310 int mlxsw_sp_pgt_entry_port_set(struct mlxsw_sp *mlxsw_sp, u16 mid, in mlxsw_sp_pgt_entry_port_set() 321 int mlxsw_sp_pgt_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_pgt_init() [all …]
|
A D | spectrum_switchdev.c | 29 struct mlxsw_sp *mlxsw_sp; member 175 struct mlxsw_sp *mlxsw_sp = priv->data; in mlxsw_sp_bridge_device_upper_rif_destroy() local 877 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_ageing_set() local 892 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_vlan_set() local 910 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_vlan_proto_set() local 1877 struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_mc_get_mrouters_bitmap() 3220 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_fdb_notify_work() local 3329 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_bridge_nve_fdb_event() local 3550 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_vxlan_fdb_event_work() local 3832 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_vxlan_vlans_add() local [all …]
|
A D | spectrum_ptp.c | 32 struct mlxsw_sp *mlxsw_sp; member 92 mlxsw_sp1_ptp_state(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_ptp_state() 99 mlxsw_sp2_ptp_state(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_ptp_state() 516 mlxsw_sp1_ptp_unmatched_save(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_unmatched_save() 544 mlxsw_sp1_ptp_unmatched_lookup(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_unmatched_lookup() 564 mlxsw_sp1_ptp_unmatched_remove(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_unmatched_remove() 632 mlxsw_sp1_ptp_unmatched_finish(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_unmatched_finish() 796 struct mlxsw_sp *mlxsw_sp = ptp_state->common.mlxsw_sp; in mlxsw_sp1_ptp_ht_gc_collect() local 1070 struct mlxsw_sp *mlxsw_sp = ptp_state_common->mlxsw_sp; in mlxsw_sp1_ptp_fini() local 1156 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp1_ptp_mtpppc_update() local [all …]
|
A D | spectrum_fid.c | 111 struct mlxsw_sp *mlxsw_sp; member 252 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_vni_set() local 285 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_vni_clear() local 978 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_fid_8021d_port_vid_map() local 1018 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_fid_8021d_port_vid_unmap() local 1154 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_fid_rfid_port_vid_map() local 1610 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_put() local 1665 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_flood_table_init() local 1702 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_flood_table_fini() local 1811 int mlxsw_sp_fids_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_fids_init() [all …]
|
A D | spectrum_matchall.c | 30 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_mall_port_mirror_add() local 80 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_mall_port_mirror_del() local 95 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_mall_port_sample_set() local 107 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_mall_port_sample_add() local 137 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_mall_port_sample_del() local 200 int mlxsw_sp_mall_replace(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mall_replace() 379 static int mlxsw_sp1_mall_sample_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_mall_sample_add() 399 static void mlxsw_sp1_mall_sample_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_mall_sample_del() 411 static int mlxsw_sp2_mall_sample_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_mall_sample_add() 459 static void mlxsw_sp2_mall_sample_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_mall_sample_del()
|
A D | spectrum_acl_atcam.c | 120 struct mlxsw_sp *mlxsw_sp = aregion->region->mlxsw_sp; in mlxsw_sp_acl_atcam_region_12kb_init() local 227 struct mlxsw_sp *mlxsw_sp = region->mlxsw_sp; in mlxsw_sp_acl_atcam_12kb_lkey_id_get() local 315 mlxsw_sp_acl_atcam_region_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_atcam_region_init() 378 mlxsw_sp_acl_atcam_region_entry_insert(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_atcam_region_entry_insert() 420 mlxsw_sp_acl_atcam_region_entry_remove(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_atcam_region_entry_remove() 470 __mlxsw_sp_acl_atcam_entry_add(struct mlxsw_sp *mlxsw_sp, in __mlxsw_sp_acl_atcam_entry_add() 545 __mlxsw_sp_acl_atcam_entry_del(struct mlxsw_sp *mlxsw_sp, in __mlxsw_sp_acl_atcam_entry_del() 567 int mlxsw_sp_acl_atcam_entry_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_atcam_entry_add() 592 void mlxsw_sp_acl_atcam_entry_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_atcam_entry_del() 625 int mlxsw_sp_acl_atcam_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_atcam_init() [all …]
|
A D | spectrum_ethtool.c | 15 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_get_drvinfo() local 694 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_set_phys_id() local 762 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in __mlxsw_sp_port_get_stats() local 932 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_ptys_query() local 956 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_get_link_ksettings() local 987 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_set_link_ksettings() local 1036 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_get_module_info() local 1048 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_get_module_eeprom() local 1062 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_get_module_eeprom_by_page() local 1074 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_get_ts_info() local [all …]
|