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/
H 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 …]
H 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 …]
H 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 …]
H A Dspectrum.c303 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_txhdr_handle()
969 struct mlxsw_sp_port *mlxsw_sp_port = in update_stats_cache() local
1596 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_create() local
1908 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_cpu_port_create() local
1937 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_cpu_port_remove() local
2246 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_split() local
2309 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_unsplit() local
2366 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_pude_event_func() local
4147 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_lower_get() local
4861 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_netdevice_port_upper_event() local
[all …]
H A Dspectrum_ptp.h129 mlxsw_sp1_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_get()
136 mlxsw_sp1_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_set()
155 static inline void mlxsw_sp1_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_get_stats()
162 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_ptp_txhdr_construct()
202 mlxsw_sp2_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_ptp_hwtstamp_get()
209 mlxsw_sp2_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_ptp_hwtstamp_set()
217 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_ptp_txhdr_construct()
238 static inline void mlxsw_sp2_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_get_stats()
H 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()
H A Dspectrum_switchdev.c395 struct mlxsw_sp_port *mlxsw_sp_port; member
478 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_bridge_port_create() local
1925 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_bridge_port_get_ports_bitmap() local
2424 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_lag_rep_port() local
2485 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_bridge_8021q_port_join()
2503 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_bridge_8021q_port_leave()
2645 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_bridge_8021d_port_join()
2686 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_bridge_8021d_port_leave()
3052 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_fdb_notify_mac_process() local
3120 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_fdb_notify_mac_lag_process() local
[all …]
H A Dspectrum.h289 struct mlxsw_sp_port *mlxsw_sp_port; member
317 struct mlxsw_sp_port { struct
319 struct mlxsw_sp_port_pcpu_stats __percpu *pcpu_stats; argument
339 * mlxsw_sp_port lifetime, however argument
346 struct mlxsw_sp_port_xstats xstats; argument
350 struct mlxsw_sp_port_vlan *default_vlan; argument
367 struct mlxsw_sp_port_type_speed_ops { argument
377 int (*ptys_max_speed)(struct mlxsw_sp_port *mlxsw_sp_port, u32 *p_max_speed); argument
470 mlxsw_sp_port_is_pause_en(const struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_is_pause_en()
478 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_lagged_get() local
[all …]
H 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 …]
H A Dspectrum_span.c1118 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_span_analyzed_port_create()
1265 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_span_trigger_port_matches()
1313 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp1_span_trigger_global_matches()
1322 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_span_trigger_global_enable()
1331 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_span_trigger_global_disable()
1396 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp2_span_trigger_global_matches()
1442 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_span_trigger_global_enable()
1502 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_span_trigger_entry_create()
1547 struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_span_trigger_entry_find()
1562 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_span_agent_bind()
[all …]
H A Dspectrum_ptp.c588 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_packet_finish() local
710 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_got_packet() local
751 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_got_timestamp() local
799 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_ht_gc_collect() local
1085 int mlxsw_sp1_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_get()
1234 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp1_ptp_shaper_work() local
1248 int mlxsw_sp1_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_set()
1337 void mlxsw_sp1_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_get_stats()
1449 int mlxsw_sp2_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp2_ptp_hwtstamp_get()
1684 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_ptp_txhdr_construct()
[all …]
H 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()
596 int mlxsw_sp_hdroom_configure(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_hdroom_configure()
993 static int mlxsw_sp_port_sb_cms_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_sb_cms_init()
1326 int mlxsw_sp_port_buffers_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_buffers_init()
1353 void mlxsw_sp_port_buffers_fini(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_buffers_fini()
1446 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_port_pool_get() local
1462 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_port_pool_set() local
1488 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_tc_pool_bind_get() local
1509 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_tc_pool_bind_set() local
1769 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_sb_occ_port_pool_get() local
[all …]
H A Dspectrum_fid.c462 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_unmap()
1117 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_fid_8021d_port_vid_map()
1158 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_8021d_port_vid_unmap()
1416 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_fid_rfid_port_vid_map()
1467 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_rfid_port_vid_unmap()
1573 const struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_fid_rfid_port_memb_ft_cff()
1605 const struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_fid_rfid_port_memb_cff()
1627 const struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_fid_rfid_port_init_cff()
1634 const struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_fid_rfid_port_fini_cff()
1754 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_fid_8021q_port_vid_map()
[all …]
H 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
H 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
H A Dspectrum_acl_tcam.c309 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_group_bind()
324 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_group_unbind()
1716 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_flower_ruleset_bind()
1728 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_flower_ruleset_unbind()
1857 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_mr_ruleset_bind()
1867 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_acl_tcam_mr_ruleset_unbind()
H A Dspectrum_nve.c1015 int mlxsw_sp_port_nve_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_nve_init()
1024 void mlxsw_sp_port_nve_fini(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_nve_fini()
H A Dspectrum_flower.c300 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_flower_parse_meta_iif() local
H A Dspectrum_acl.c421 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_fwd() local
796 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_sample() local
H A Dspectrum_router.c2870 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_dev_lower_is_port() local
8897 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port; in mlxsw_sp_rif_subport_params_init() local
9159 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port; in __mlxsw_sp_port_vlan_router_join() local
9209 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port; in __mlxsw_sp_port_vlan_router_leave() local
9256 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(port_dev); in mlxsw_sp_inetaddr_port_vlan_event() local
10164 mlxsw_sp_port_vid_router_join_existing(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_vid_router_join_existing()
10180 mlxsw_sp_port_vid_router_leave(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid, in mlxsw_sp_port_vid_router_leave()
10193 static int __mlxsw_sp_router_port_join_lag(struct mlxsw_sp_port *mlxsw_sp_port, in __mlxsw_sp_router_port_join_lag()
10240 __mlxsw_sp_router_port_leave_lag(struct mlxsw_sp_port *mlxsw_sp_port, in __mlxsw_sp_router_port_leave_lag()
10259 int mlxsw_sp_router_port_join_lag(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_router_port_join_lag()
[all …]