/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_router.c | 63 struct mlxsw_sp *mlxsw_sp; member 292 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_rif_counters_alloc() local 304 struct mlxsw_sp *mlxsw_sp = rif->mlxsw_sp; in mlxsw_sp_rif_counters_free() local 2695 struct mlxsw_sp *mlxsw_sp; member 2801 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_router_netevent_event() local 7508 struct mlxsw_sp *mlxsw_sp; member 7817 struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_router_fib_rule_event() 8911 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_inetaddr_valid_event() local 8932 struct mlxsw_sp *mlxsw_sp; member 8994 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_inet6addr_valid_event() local [all …]
|
A D | spectrum_acl_tcam.c | 21 size_t mlxsw_sp_acl_tcam_priv_size(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_acl_tcam_priv_size() 32 int mlxsw_sp_acl_tcam_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_init() 82 void mlxsw_sp_acl_tcam_fini(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_fini() 217 struct mlxsw_sp *mlxsw_sp; member 313 mlxsw_sp_acl_tcam_vgroup_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_vgroup_add() 363 mlxsw_sp_acl_tcam_group_bind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_group_bind() 378 mlxsw_sp_acl_tcam_group_unbind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_group_unbind() 654 mlxsw_sp_acl_tcam_region_free(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_region_free() 932 mlxsw_sp_acl_tcam_vregion_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_vregion_get() 1093 mlxsw_sp_acl_tcam_vchunk_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_tcam_vchunk_get() [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 1459 static int mlxsw_sp_traps_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_traps_init() 1489 static void mlxsw_sp_traps_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_traps_fini() 1504 int mlxsw_sp_devlink_traps_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_devlink_traps_init() 1879 mlxsw_sp1_trap_groups_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_trap_groups_init() [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() 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() 384 mlxsw_sp1_ipip_decap_config_gre6(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ipip_decap_config_gre6() 418 mlxsw_sp1_ipip_rem_addr_set_gre6(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ipip_rem_addr_set_gre6() 426 mlxsw_sp1_ipip_rem_addr_unset_gre6(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ipip_rem_addr_unset_gre6() 485 mlxsw_sp2_ipip_decap_config_gre6(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_ipip_decap_config_gre6() 568 mlxsw_sp2_ipip_rem_addr_set_gre6(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_ipip_rem_addr_set_gre6() 632 int mlxsw_sp_ipip_ecn_encap_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_ipip_ecn_encap_init() [all …]
|
A D | spectrum_nve.c | 66 struct mlxsw_sp *mlxsw_sp; member 192 mlxsw_sp_nve_mc_list_find(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_find() 202 mlxsw_sp_nve_mc_list_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_create() 240 mlxsw_sp_nve_mc_list_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_get() 253 mlxsw_sp_nve_mc_list_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_put() 296 struct mlxsw_sp *mlxsw_sp = mc_record->mlxsw_sp; in mlxsw_sp_nve_mc_record_destroy() local 306 mlxsw_sp_nve_mc_record_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_record_get() 355 struct mlxsw_sp *mlxsw_sp = mc_record->mlxsw_sp; in mlxsw_sp_nve_mc_record_refresh() local 869 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_nve_init() local 969 int mlxsw_sp_nve_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_init() [all …]
|
A D | spectrum.c | 266 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vid_stp_set() local 296 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_admin_status_set() local 308 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_dev_addr_set() local 318 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_dev_addr_init() local 328 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_max_mtu_get() local 2147 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_pude_event_func() local 2201 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp1_ptp_ing_fifo_event_func() local 2209 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp1_ptp_egr_fifo_event_func() local 2217 struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_rx_listener_no_mark_func() local 4206 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_netdevice_port_upper_event() local [all …]
|
A D | spectrum_nve_vxlan.c | 129 mlxsw_sp1_nve_vxlan_config_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_nve_vxlan_config_set() 148 static void mlxsw_sp1_nve_vxlan_config_clear(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_nve_vxlan_config_clear() 157 static int mlxsw_sp1_nve_vxlan_rtdp_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_nve_vxlan_rtdp_set() 170 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp1_nve_vxlan_init() local 211 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp1_nve_vxlan_fini() local 248 static bool mlxsw_sp2_nve_vxlan_learning_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_nve_vxlan_learning_set() 259 mlxsw_sp2_nve_decap_ethertype_set(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_nve_decap_ethertype_set() 271 mlxsw_sp2_nve_vxlan_config_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_nve_vxlan_config_set() 336 static int mlxsw_sp2_nve_vxlan_rtdp_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_nve_vxlan_rtdp_set() 351 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp2_nve_vxlan_init() local [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_ptp.h | 63 mlxsw_sp1_ptp_clock_init(struct mlxsw_sp *mlxsw_sp, struct device *dev) in mlxsw_sp1_ptp_clock_init() 73 mlxsw_sp1_ptp_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_ptp_init() 82 static inline void mlxsw_sp1_ptp_receive(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_receive() 88 static inline void mlxsw_sp1_ptp_transmitted(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_transmitted() 95 mlxsw_sp1_ptp_got_timestamp(struct mlxsw_sp *mlxsw_sp, bool ingress, in mlxsw_sp1_ptp_got_timestamp() 120 static inline int mlxsw_sp1_ptp_get_ts_info(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_get_ts_info() 142 mlxsw_sp2_ptp_clock_init(struct mlxsw_sp *mlxsw_sp, struct device *dev) in mlxsw_sp2_ptp_clock_init() 152 mlxsw_sp2_ptp_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_ptp_init() 161 static inline void mlxsw_sp2_ptp_receive(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_ptp_receive() 167 static inline void mlxsw_sp2_ptp_transmitted(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_ptp_transmitted() [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_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 100 int mlxsw_sp_acl_ruleset_bind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_bind() 160 mlxsw_sp_acl_ruleset_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_create() 247 mlxsw_sp_acl_ruleset_lookup(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_lookup() 265 mlxsw_sp_acl_ruleset_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_ruleset_get() 717 mlxsw_sp_acl_rule_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_rule_create() 762 int mlxsw_sp_acl_rule_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_rule_add() 806 void mlxsw_sp_acl_rule_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_rule_del() 842 mlxsw_sp_acl_rule_lookup(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_acl_rule_lookup() 955 int mlxsw_sp_acl_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_acl_init() [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 | 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_buffers.c | 386 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_hdroom_bufs_reset_sizes() local 438 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_hdroom_configure_buffers() local 587 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_headroom_init() local 965 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_sb_cms_init() local 1070 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_sb_pms_init() local 1221 int mlxsw_sp_buffers_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_buffers_init() 1289 void mlxsw_sp_buffers_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_buffers_fini() 1418 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_sb_port_pool_get() local 1434 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_sb_port_pool_set() local 1460 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_sb_tc_pool_bind_get() local [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.h | 160 struct mlxsw_sp { struct 166 struct mlxsw_sp_upper *lags; argument 169 struct mlxsw_sp_sb *sb; argument 172 struct mlxsw_sp_mr *mr; argument 174 struct mlxsw_sp_acl *acl; argument 177 struct mlxsw_sp_kvdl *kvdl; argument 178 struct mlxsw_sp_nve *nve; argument 180 struct mlxsw_sp_ptp_clock *clock; argument 183 struct mlxsw_sp_span *span; argument 184 struct mlxsw_sp_trap *trap; argument [all …]
|
A D | spectrum_fid.c | 104 struct mlxsw_sp *mlxsw_sp; member 244 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_vni_set() local 277 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_vni_clear() local 508 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vp_mode_trans() local 552 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vlan_mode_trans() local 575 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_fid_8021d_port_vid_map() local 603 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_fid_8021d_port_vid_unmap() local 959 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_put() local 1018 struct mlxsw_sp *mlxsw_sp = fid_family->mlxsw_sp; in mlxsw_sp_fid_flood_table_init() local 1119 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_switchdev.c | 29 struct mlxsw_sp *mlxsw_sp; member 146 struct mlxsw_sp *mlxsw_sp = priv->data; in mlxsw_sp_bridge_device_upper_rif_destroy() local 746 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_ageing_set() local 761 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_vlan_set() local 779 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_vlan_proto_set() local 1566 struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_mc_get_mrouters_bitmap() 2819 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_fdb_notify_work() local 2922 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_bridge_nve_fdb_event() local 3139 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_vxlan_fdb_event_work() local 3421 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_vxlan_vlans_add() local [all …]
|
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_router_xm.c | 292 struct mlxsw_sp *mlxsw_sp; member 306 mlxsw_sp_router_xm_cache_flush_node_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_router_xm_cache_flush_node_create() 385 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_router_xm_cache_flush_work() local 462 mlxsw_sp_router_xm_cache_flush_schedule(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_router_xm_cache_flush_schedule() 513 mlxsw_sp_router_xm_ml_entry_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_router_xm_ml_entry_add() 552 mlxsw_sp_router_xm_ml_entry_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_router_xm_ml_entry_del() 583 mlxsw_sp_router_xm_ml_entries_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_router_xm_ml_entries_add() 607 mlxsw_sp_router_xm_ml_entries_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_router_xm_ml_entries_del() 620 mlxsw_sp_router_xm_ml_entries_cache_flush(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_router_xm_ml_entries_cache_flush() 732 int mlxsw_sp_router_xm_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_router_xm_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 1050 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_get_module_eeprom() local 1066 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_get_module_eeprom_by_page() local 1077 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_get_ts_info() local [all …]
|
A D | spectrum_flower.c | 18 static int mlxsw_sp_flower_parse_actions(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_flower_parse_actions() 330 static int mlxsw_sp_flower_parse_ports(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_flower_parse_ports() 357 static int mlxsw_sp_flower_parse_tcp(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_flower_parse_tcp() 388 static int mlxsw_sp_flower_parse_ip(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_flower_parse_ip() 421 static int mlxsw_sp_flower_parse(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_flower_parse() 583 int mlxsw_sp_flower_replace(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_flower_replace() 634 void mlxsw_sp_flower_destroy(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_flower_destroy() 656 int mlxsw_sp_flower_stats(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_flower_stats() 695 int mlxsw_sp_flower_tmplt_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_flower_tmplt_create() 716 void mlxsw_sp_flower_tmplt_destroy(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_flower_tmplt_destroy() [all …]
|