Home
last modified time | relevance | path

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

/linux/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
411 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_setapp() local
436 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_delapp() local
452 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_getmaxrate() local
462 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_setmaxrate() local
513 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_getpfc() local
547 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_setpfc() local
597 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_getbuffer() local
624 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.c861 struct mlxsw_sp_port *mlxsw_sp_port = in update_stats_cache() local
1498 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_create() local
1814 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_cpu_port_create() local
1843 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_cpu_port_remove() local
2031 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_split() local
2092 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_unsplit() local
2148 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_pude_event_func() local
3653 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_lower_get() local
3676 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_lower_dev_hold() local
4203 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_netdevice_port_upper_event() local
[all …]
A Dspectrum_switchdev.c342 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_bridge_port_create() local
1543 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_bridge_port_get_ports_bitmap() local
1956 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_lag_rep_port() local
1990 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_bridge_8021q_port_join()
2008 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_bridge_8021q_port_leave()
2150 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_bridge_8021d_port_join()
2178 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_bridge_8021d_port_leave()
2273 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_bridge_8021ad_port_join()
2536 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_fdb_notify_mac_process() local
2600 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_fdb_notify_mac_lag_process() local
[all …]
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.h279 struct mlxsw_sp_port *mlxsw_sp_port; member
307 struct mlxsw_sp_port { struct
309 struct mlxsw_sp_port_pcpu_stats __percpu *pcpu_stats; argument
328 * mlxsw_sp_port lifetime, however argument
335 struct mlxsw_sp_port_xstats xstats; argument
339 struct mlxsw_sp_port_vlan *default_vlan; argument
357 struct mlxsw_sp_port_type_speed_ops { argument
367 int (*ptys_max_speed)(struct mlxsw_sp_port *mlxsw_sp_port, u32 *p_max_speed); argument
435 mlxsw_sp_port_is_pause_en(const struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_is_pause_en()
443 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_ptp.h103 mlxsw_sp1_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_get()
110 mlxsw_sp1_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_set()
135 static inline void mlxsw_sp1_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_get_stats()
174 mlxsw_sp2_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_ptp_hwtstamp_get()
181 mlxsw_sp2_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_ptp_hwtstamp_set()
206 static inline void mlxsw_sp2_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_get_stats()
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_buffers.c383 void mlxsw_sp_hdroom_bufs_reset_sizes(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_hdroom_bufs_reset_sizes()
579 int mlxsw_sp_hdroom_configure(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_hdroom_configure()
963 static int mlxsw_sp_port_sb_cms_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_sb_cms_init()
1296 int mlxsw_sp_port_buffers_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_buffers_init()
1323 void mlxsw_sp_port_buffers_fini(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_buffers_fini()
1416 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_port_pool_get() local
1432 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_port_pool_set() local
1458 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_tc_pool_bind_get() local
1479 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_tc_pool_bind_set() local
1715 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_occ_port_pool_get() local
[all …]
A Dspectrum_ptp.c413 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_packet_finish() local
530 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_got_packet() local
572 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_got_timestamp() local
619 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_ht_gc_collect() local
884 int mlxsw_sp1_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_get()
952 static int mlxsw_sp1_ptp_mtpppc_update(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_mtpppc_update()
991 static bool mlxsw_sp1_ptp_hwtstamp_enabled(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp1_ptp_hwtstamp_enabled()
997 mlxsw_sp1_ptp_port_shaper_set(struct mlxsw_sp_port *mlxsw_sp_port, bool enable) in mlxsw_sp1_ptp_port_shaper_set()
1032 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_shaper_work() local
1046 int mlxsw_sp1_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_set()
[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.c350 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_map()
358 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_unmap()
506 static int mlxsw_sp_port_vp_mode_trans(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_vp_mode_trans()
550 static void mlxsw_sp_port_vlan_mode_trans(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_vlan_mode_trans()
572 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_fid_8021d_port_vid_map()
601 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_8021d_port_vid_unmap()
783 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_fid_rfid_port_vid_map()
808 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_rfid_port_vid_unmap()
1099 int mlxsw_sp_port_fids_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_fids_init()
1112 void mlxsw_sp_port_fids_fini(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_fids_fini()
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.c365 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_group_bind()
380 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_group_unbind()
1631 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_flower_ruleset_bind()
1643 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_flower_ruleset_unbind()
1772 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_mr_ruleset_bind()
1782 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_mr_ruleset_unbind()
A Dspectrum_nve.c867 int mlxsw_sp_port_nve_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_nve_init()
876 void mlxsw_sp_port_nve_fini(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_nve_fini()
A Dspectrum_flower.c244 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_flower_parse_meta() local
A Dspectrum_acl.c408 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_fwd() local
699 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_sample() local
A Dspectrum_router.c2800 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_router_netevent_event() local
8272 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port; in mlxsw_sp_rif_subport_params_init() local
8516 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port; in __mlxsw_sp_port_vlan_router_join() local
8563 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port; in __mlxsw_sp_port_vlan_router_leave() local
8615 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(port_dev); in mlxsw_sp_inetaddr_port_vlan_event() local

Completed in 93 milliseconds