Home
last modified time | relevance | path

Searched defs:mlxsw_sp_port (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_dcb.c26 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_getets() local
151 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_setets() local
398 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_setapp() local
423 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_delapp() local
439 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_getmaxrate() local
449 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_setmaxrate() local
500 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_getpfc() local
534 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_setpfc() local
584 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_getbuffer() local
611 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_setbuffer() local
[all …]
A Dspectrum_qdisc.c230 mlxsw_sp_qdisc_destroy(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_qdisc_destroy()
473 mlxsw_sp_qdisc_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_qdisc_get_stats()
487 mlxsw_sp_qdisc_get_xstats(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_qdisc_get_xstats()
669 mlxsw_sp_qdisc_red_destroy(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_qdisc_red_destroy()
886 int mlxsw_sp_setup_tc_red(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_setup_tc_red()
918 mlxsw_sp_qdisc_tbf_hr(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_qdisc_tbf_hr()
949 mlxsw_sp_qdisc_tbf_bs(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_qdisc_tbf_bs()
1116 int mlxsw_sp_setup_tc_tbf(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_setup_tc_tbf()
1296 void *mlxsw_sp_port) in mlxsw_sp_qdisc_walk_cb_clean_stats()
1752 struct mlxsw_sp_port *mlxsw_sp_port; member
[all …]
A Dspectrum_matchall.c26 mlxsw_sp_mall_port_mirror_add(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_mall_port_mirror_add()
77 mlxsw_sp_mall_port_mirror_del(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_mall_port_mirror_del()
103 mlxsw_sp_mall_port_sample_add(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_mall_port_sample_add()
151 mlxsw_sp_mall_port_rule_add(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_mall_port_rule_add()
169 mlxsw_sp_mall_port_rule_del(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_mall_port_rule_del()
335 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_mall_port_bind()
357 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_mall_port_unbind()
380 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_mall_sample_add()
400 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_mall_sample_del()
412 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_mall_sample_add()
[all …]
A Dspectrum.c984 struct mlxsw_sp_port *mlxsw_sp_port = in update_stats_cache() local
1611 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_create() local
1929 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_cpu_port_create() local
1958 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_cpu_port_remove() local
2267 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_split() local
2330 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_unsplit() local
2387 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_pude_event_func() local
4053 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_lower_get() local
4076 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_lower_dev_hold() local
4606 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_netdevice_port_upper_event() local
[all …]
A Dspectrum_ptp.h137 mlxsw_sp1_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_get()
144 mlxsw_sp1_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_set()
169 static inline void mlxsw_sp1_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_get_stats()
176 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_ptp_txhdr_construct()
216 mlxsw_sp2_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_ptp_hwtstamp_get()
223 mlxsw_sp2_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_ptp_hwtstamp_set()
237 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_ptp_txhdr_construct()
258 static inline void mlxsw_sp2_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_get_stats()
A Dspectrum_flow.c35 struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) in mlxsw_sp_flow_block_lookup()
54 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_flow_block_bind()
109 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_flow_block_unbind()
201 static int mlxsw_sp_setup_tc_block_bind(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_setup_tc_block_bind()
252 static void mlxsw_sp_setup_tc_block_unbind(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_setup_tc_block_unbind()
280 int mlxsw_sp_setup_tc_block_clsact(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_setup_tc_block_clsact()
A Dspectrum_switchdev.c393 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_bridge_port_create() local
1854 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_bridge_port_get_ports_bitmap() local
2353 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_lag_rep_port() local
2387 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_bridge_8021q_port_join()
2405 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_bridge_8021q_port_leave()
2547 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_bridge_8021d_port_join()
2575 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_bridge_8021d_port_leave()
2670 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_bridge_8021ad_port_join()
2934 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_fdb_notify_mac_process() local
3005 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_fdb_notify_mac_lag_process() local
[all …]
A Dspectrum.h290 struct mlxsw_sp_port *mlxsw_sp_port; member
318 struct mlxsw_sp_port { struct
320 struct mlxsw_sp_port_pcpu_stats __percpu *pcpu_stats; argument
340 * mlxsw_sp_port lifetime, however argument
347 struct mlxsw_sp_port_xstats xstats; argument
351 struct mlxsw_sp_port_vlan *default_vlan; argument
369 struct mlxsw_sp_port_type_speed_ops { argument
379 int (*ptys_max_speed)(struct mlxsw_sp_port *mlxsw_sp_port, u32 *p_max_speed); argument
472 mlxsw_sp_port_is_pause_en(const struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_is_pause_en()
480 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_lagged_get() local
[all …]
A Dspectrum_ethtool.c14 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_drvinfo() local
146 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_link_ext_state() local
184 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_pauseparam() local
211 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_set_pauseparam() local
631 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_strings() local
693 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_set_phys_id() local
761 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in __mlxsw_sp_port_get_stats() local
785 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in __mlxsw_sp_port_get_env_stats() local
795 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_stats() local
855 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_sset_count() local
[all …]
A Dspectrum_span.c1116 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_span_analyzed_port_create()
1263 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_span_trigger_port_matches()
1311 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp1_span_trigger_global_matches()
1320 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_span_trigger_global_enable()
1329 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_span_trigger_global_disable()
1394 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp2_span_trigger_global_matches()
1440 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_span_trigger_global_enable()
1500 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_span_trigger_entry_create()
1545 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_span_trigger_entry_find()
1560 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_span_agent_bind()
[all …]
A Dspectrum_ptp.c587 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_packet_finish() local
709 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_got_packet() local
750 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_got_timestamp() local
798 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_ht_gc_collect() local
1084 int mlxsw_sp1_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_get()
1233 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_shaper_work() local
1247 int mlxsw_sp1_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_set()
1336 void mlxsw_sp1_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_get_stats()
1448 int mlxsw_sp2_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_ptp_hwtstamp_get()
1683 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_ptp_txhdr_construct()
[all …]
A Dspectrum_buffers.c398 void mlxsw_sp_hdroom_bufs_reset_sizes(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_hdroom_bufs_reset_sizes()
594 int mlxsw_sp_hdroom_configure(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_hdroom_configure()
989 static int mlxsw_sp_port_sb_cms_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_sb_cms_init()
1322 int mlxsw_sp_port_buffers_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_buffers_init()
1349 void mlxsw_sp_port_buffers_fini(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_buffers_fini()
1442 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_port_pool_get() local
1458 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_port_pool_set() local
1484 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_tc_pool_bind_get() local
1505 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_tc_pool_bind_set() local
1757 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_occ_port_pool_get() local
[all …]
A Dspectrum_acl_flex_actions.c140 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_act_mirror_add() local
164 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_act_mirror_del() local
240 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp2_act_sampler_add() local
281 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp2_act_sampler_del() local
A Dspectrum_fid.c367 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_map()
375 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_unmap()
816 static int mlxsw_sp_port_vp_mode_trans(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_vp_mode_trans()
975 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_fid_8021d_port_vid_map()
1016 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_8021d_port_vid_unmap()
1151 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_fid_rfid_port_vid_map()
1202 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_rfid_port_vid_unmap()
1353 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_fid_8021q_port_vid_map()
1391 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_8021q_port_vid_unmap()
1791 int mlxsw_sp_port_fids_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_fids_init()
[all …]
A Dspectrum_trap.c64 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_rx_listener()
92 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_rx_drop_listener() local
118 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_rx_acl_drop_listener() local
145 struct mlxsw_sp_port *mlxsw_sp_port; in __mlxsw_sp_rx_no_mark_listener() local
244 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_psample_md_init() local
266 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_rx_sample_listener() local
301 struct mlxsw_sp_port *mlxsw_sp_port, *mlxsw_sp_port_tx; in mlxsw_sp_rx_sample_tx_listener() local
354 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_rx_sample_acl_listener() local
A Dspectrum_acl_tcam.c305 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_group_bind()
320 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_group_unbind()
1683 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_flower_ruleset_bind()
1695 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_flower_ruleset_unbind()
1824 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_mr_ruleset_bind()
1834 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_mr_ruleset_unbind()
A Dspectrum_flower.c289 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_flower_parse_meta() local
A Dspectrum_nve.c1014 int mlxsw_sp_port_nve_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_nve_init()
1023 void mlxsw_sp_port_nve_fini(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_nve_fini()
A Dspectrum_acl.c413 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_fwd() local
779 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_sample() local
A Dspectrum_router.c2772 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_router_netevent_event() local
8241 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port; in mlxsw_sp_rif_subport_params_init() local
8489 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port; in __mlxsw_sp_port_vlan_router_join() local
8536 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port; in __mlxsw_sp_port_vlan_router_leave() local
8588 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(port_dev); in mlxsw_sp_inetaddr_port_vlan_event() local

Completed in 108 milliseconds