Home
last modified time | relevance | path

Searched defs:mlxsw_sp_port (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flow.c34 mlxsw_sp_flow_block_lookup(struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_flow_block_lookup() argument
52 mlxsw_sp_flow_block_bind(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress, struct netlink_ext_ack *extack) mlxsw_sp_flow_block_bind() argument
107 mlxsw_sp_flow_block_unbind(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_flow_block_unbind() argument
201 mlxsw_sp_setup_tc_block_bind(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f, bool ingress) mlxsw_sp_setup_tc_block_bind() argument
252 mlxsw_sp_setup_tc_block_unbind(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f, bool ingress) mlxsw_sp_setup_tc_block_unbind() argument
280 mlxsw_sp_setup_tc_block_clsact(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f, bool ingress) mlxsw_sp_setup_tc_block_clsact() argument
[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() argument
69 mlxsw_sp_mall_port_mirror_del(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_mall_port_mirror_del() argument
84 mlxsw_sp_mall_port_sample_set(struct mlxsw_sp_port *mlxsw_sp_port, bool enable, u32 rate) mlxsw_sp_mall_port_sample_set() argument
95 mlxsw_sp_mall_port_sample_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_sample_add() argument
118 mlxsw_sp_mall_port_sample_del(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_mall_port_sample_del() argument
128 mlxsw_sp_mall_port_rule_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_rule_add() argument
143 mlxsw_sp_mall_port_rule_del(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_rule_del() argument
316 mlxsw_sp_mall_port_bind(struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_mall_port_bind() argument
336 mlxsw_sp_mall_port_unbind(struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_mall_port_unbind() argument
[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
H A Dspectrum_flower.c221 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_flower_parse_meta() local
H A Dspectrum_ptp.h110 mlxsw_sp1_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp1_ptp_hwtstamp_get() argument
117 mlxsw_sp1_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_por argument
142 mlxsw_sp1_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, u64 *data, int data_index) mlxsw_sp1_get_stats() argument
181 mlxsw_sp2_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, struct hwtstamp_config *config) mlxsw_sp2_ptp_hwtstamp_get() argument
188 mlxsw_sp2_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, struct hwtstamp_config *config) mlxsw_sp2_ptp_hwtstamp_set() argument
213 mlxsw_sp2_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, u64 *data, int data_index) mlxsw_sp2_get_stats() argument
[all...]
H A Dspectrum_dcb.c26 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_getets() local
33 static int mlxsw_sp_port_ets_validate(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_ets_validate() argument
67 static int mlxsw_sp_port_headroom_ets_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_headroom_ets_set() argument
91 __mlxsw_sp_dcbnl_ieee_setets(struct mlxsw_sp_port *mlxsw_sp_port, struct ieee_ets *ets) __mlxsw_sp_dcbnl_ieee_setets() argument
151 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_setets() local
203 mlxsw_sp_port_dcb_app_default_prio(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_dcb_app_default_prio() argument
216 mlxsw_sp_port_dcb_app_dscp_prio_map(struct mlxsw_sp_port *mlxsw_sp_port, u8 default_prio, struct dcb_ieee_app_dscp_map *map) mlxsw_sp_port_dcb_app_dscp_prio_map() argument
232 mlxsw_sp_port_dcb_app_prio_dscp_map(struct mlxsw_sp_port *mlxsw_sp_port, struct dcb_ieee_app_prio_map *map) mlxsw_sp_port_dcb_app_prio_dscp_map() argument
250 mlxsw_sp_port_dcb_app_update_qpts(struct mlxsw_sp_port *mlxsw_sp_port, enum mlxsw_reg_qpts_trust_state ts) mlxsw_sp_port_dcb_app_update_qpts() argument
261 mlxsw_sp_port_dcb_app_update_qrwe(struct mlxsw_sp_port *mlxsw_sp_port, bool rewrite_dscp) mlxsw_sp_port_dcb_app_update_qrwe() argument
273 mlxsw_sp_port_dcb_toggle_trust(struct mlxsw_sp_port *mlxsw_sp_port, enum mlxsw_reg_qpts_trust_state ts) mlxsw_sp_port_dcb_toggle_trust() argument
300 mlxsw_sp_port_dcb_app_update_qpdp(struct mlxsw_sp_port *mlxsw_sp_port, u8 default_prio) mlxsw_sp_port_dcb_app_update_qpdp() argument
311 mlxsw_sp_port_dcb_app_update_qpdpm(struct mlxsw_sp_port *mlxsw_sp_port, struct dcb_ieee_app_dscp_map *map) mlxsw_sp_port_dcb_app_update_qpdpm() argument
325 mlxsw_sp_port_dcb_app_update_qpdsm(struct mlxsw_sp_port *mlxsw_sp_port, struct dcb_ieee_app_prio_map *map) mlxsw_sp_port_dcb_app_update_qpdsm() argument
338 mlxsw_sp_port_dcb_app_update(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_dcb_app_update() argument
398 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_setapp() local
423 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_delapp() local
439 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_getmaxrate() local
449 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_setmaxrate() local
477 mlxsw_sp_port_pfc_cnt_get(struct mlxsw_sp_port *mlxsw_sp_port, u8 prio) mlxsw_sp_port_pfc_cnt_get() argument
500 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_getpfc() local
517 mlxsw_sp_port_pfc_set(struct mlxsw_sp_port *mlxsw_sp_port, struct ieee_pfc *pfc) mlxsw_sp_port_pfc_set() argument
534 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_setpfc() local
584 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_getbuffer() local
611 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_setbuffer() local
655 mlxsw_sp_port_ets_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_ets_init() argument
667 mlxsw_sp_port_ets_fini(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_ets_fini() argument
672 mlxsw_sp_port_maxrate_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_maxrate_init() argument
687 mlxsw_sp_port_maxrate_fini(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_maxrate_fini() argument
692 mlxsw_sp_port_pfc_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_pfc_init() argument
704 mlxsw_sp_port_pfc_fini(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_pfc_fini() argument
709 mlxsw_sp_port_dcb_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_dcb_init() argument
735 mlxsw_sp_port_dcb_fini(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_dcb_fini() argument
[all...]
H A Dspectrum_trap.c86 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_rx_drop_listener() local
112 struct mlxsw_sp_port *mlxsw_sp_por in mlxsw_sp_rx_acl_drop_listener() local
56 mlxsw_sp_rx_listener(struct mlxsw_sp *mlxsw_sp, struct sk_buff *skb, u8 local_port, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_rx_listener() argument
139 struct mlxsw_sp_port *mlxsw_sp_port; __mlxsw_sp_rx_no_mark_listener() local
[all...]
H A Dspectrum_acl.c408 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_fwd() local
H A Dspectrum_nve.c867 int mlxsw_sp_port_nve_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_nve_init() argument
876 void mlxsw_sp_port_nve_fini(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_nve_fini() argument
H A Dspectrum_span.c974 mlxsw_sp_span_port_buffer_update(struct mlxsw_sp_port *mlxsw_sp_port, bool enable) mlxsw_sp_span_port_buffer_update() argument
986 mlxsw_sp_span_port_buffer_enable(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_span_port_buffer_enable() argument
991 mlxsw_sp_span_port_buffer_disable(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_span_port_buffer_disable() argument
1111 mlxsw_sp_span_analyzed_port_create(struct mlxsw_sp_span *span, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_span_analyzed_port_create() argument
1145 mlxsw_sp_span_analyzed_port_destroy(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_span_analyzed_port * analyzed_port) mlxsw_sp_span_analyzed_port_destroy() argument
1159 mlxsw_sp_span_analyzed_port_get(struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_span_analyzed_port_get() argument
1187 mlxsw_sp_span_analyzed_port_put(struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_span_analyzed_port_put() argument
1252 mlxsw_sp_span_trigger_port_matches(struct mlxsw_sp_span_trigger_entry * trigger_entry, enum mlxsw_sp_span_trigger trigger, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_span_trigger_port_matches() argument
1262 mlxsw_sp_span_trigger_port_enable(struct mlxsw_sp_span_trigger_entry * trigger_entry, struct mlxsw_sp_port *mlxsw_sp_port, u8 tc) mlxsw_sp_span_trigger_port_enable() argument
1271 mlxsw_sp_span_trigger_port_disable(struct mlxsw_sp_span_trigger_entry * trigger_entry, struct mlxsw_sp_port *mlxsw_sp_port, u8 tc) mlxsw_sp_span_trigger_port_disable() argument
1300 mlxsw_sp1_span_trigger_global_matches(struct mlxsw_sp_span_trigger_entry * trigger_entry, enum mlxsw_sp_span_trigger trigger, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp1_span_trigger_global_matches() argument
1310 mlxsw_sp1_span_trigger_global_enable(struct mlxsw_sp_span_trigger_entry * trigger_entry, struct mlxsw_sp_port *mlxsw_sp_port, u8 tc) mlxsw_sp1_span_trigger_global_enable() argument
1319 mlxsw_sp1_span_trigger_global_disable(struct mlxsw_sp_span_trigger_entry * trigger_entry, struct mlxsw_sp_port *mlxsw_sp_port, u8 tc) mlxsw_sp1_span_trigger_global_disable() argument
1380 mlxsw_sp2_span_trigger_global_matches(struct mlxsw_sp_span_trigger_entry * trigger_entry, enum mlxsw_sp_span_trigger trigger, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp2_span_trigger_global_matches() argument
1389 __mlxsw_sp2_span_trigger_global_enable(struct mlxsw_sp_span_trigger_entry * trigger_entry, struct mlxsw_sp_port *mlxsw_sp_port, u8 tc, bool enable) __mlxsw_sp2_span_trigger_global_enable() argument
1427 mlxsw_sp2_span_trigger_global_enable(struct mlxsw_sp_span_trigger_entry * trigger_entry, struct mlxsw_sp_port *mlxsw_sp_port, u8 tc) mlxsw_sp2_span_trigger_global_enable() argument
1437 mlxsw_sp2_span_trigger_global_disable(struct mlxsw_sp_span_trigger_entry * trigger_entry, struct mlxsw_sp_port *mlxsw_sp_port, u8 tc) mlxsw_sp2_span_trigger_global_disable() argument
1487 mlxsw_sp_span_trigger_entry_create(struct mlxsw_sp_span *span, enum mlxsw_sp_span_trigger trigger, struct mlxsw_sp_port *mlxsw_sp_port, const struct mlxsw_sp_span_trigger_parms *parms) mlxsw_sp_span_trigger_entry_create() argument
1532 mlxsw_sp_span_trigger_entry_find(struct mlxsw_sp_span *span, enum mlxsw_sp_span_trigger trigger, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_span_trigger_entry_find() argument
1547 mlxsw_sp_span_agent_bind(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_span_trigger trigger, struct mlxsw_sp_port *mlxsw_sp_port, const struct mlxsw_sp_span_trigger_parms *parms) mlxsw_sp_span_agent_bind() argument
1581 mlxsw_sp_span_agent_unbind(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_span_trigger trigger, struct mlxsw_sp_port *mlxsw_sp_port, const struct mlxsw_sp_span_trigger_parms *parms) mlxsw_sp_span_agent_unbind() argument
1606 mlxsw_sp_span_trigger_enable(struct mlxsw_sp_port *mlxsw_sp_port, enum mlxsw_sp_span_trigger trigger, u8 tc) mlxsw_sp_span_trigger_enable() argument
1623 mlxsw_sp_span_trigger_disable(struct mlxsw_sp_port *mlxsw_sp_port, enum mlxsw_sp_span_trigger trigger, u8 tc) mlxsw_sp_span_trigger_disable() argument
[all...]
H A Dspectrum_fid.c506 static int mlxsw_sp_port_vp_mode_trans(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_vp_mode_trans() argument
349 mlxsw_sp_fid_port_vid_map(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) mlxsw_sp_fid_port_vid_map() argument
357 mlxsw_sp_fid_port_vid_unmap(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) mlxsw_sp_fid_port_vid_unmap() argument
550 mlxsw_sp_port_vlan_mode_trans(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_vlan_mode_trans() argument
571 mlxsw_sp_fid_8021d_port_vid_map(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) mlxsw_sp_fid_8021d_port_vid_map() argument
600 mlxsw_sp_fid_8021d_port_vid_unmap(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) mlxsw_sp_fid_8021d_port_vid_unmap() argument
782 mlxsw_sp_fid_rfid_port_vid_map(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) mlxsw_sp_fid_rfid_port_vid_map() argument
807 mlxsw_sp_fid_rfid_port_vid_unmap(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) mlxsw_sp_fid_rfid_port_vid_unmap() argument
1099 mlxsw_sp_port_fids_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_fids_init() argument
1112 mlxsw_sp_port_fids_fini(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_fids_fini() argument
[all...]
H A Dspectrum_ethtool.c14 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_drvinfo() local
139 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_link_ext_state() local
177 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_pauseparam() local
183 mlxsw_sp_port_pause_set(struct mlxsw_sp_port *mlxsw_sp_port, struct ethtool_pauseparam *pause) mlxsw_sp_port_pause_set() argument
204 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_port_set_pauseparam() local
562 mlxsw_sp_port_get_transceiver_overheat_stats(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_get_transceiver_overheat_stats() argument
624 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_port_get_strings() local
686 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_port_set_phys_id() local
754 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); __mlxsw_sp_port_get_stats() local
778 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); __mlxsw_sp_port_get_env_stats() local
788 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_port_get_stats() local
848 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_port_get_sset_count() local
921 mlxsw_sp_port_ptys_query(struct mlxsw_sp_port *mlxsw_sp_port, u32 *p_eth_proto_cap, u32 *p_eth_proto_admin, u32 *p_eth_proto_oper, u8 *p_connector_type) mlxsw_sp_port_ptys_query() argument
948 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_port_get_link_ksettings() local
981 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_port_set_link_ksettings() local
1031 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(netdev); mlxsw_sp_get_module_info() local
1045 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(netdev); mlxsw_sp_get_module_eeprom() local
1059 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(netdev); mlxsw_sp_get_ts_info() local
1246 mlxsw_sp1_ptys_max_speed(struct mlxsw_sp_port *mlxsw_sp_port, u32 *p_max_speed) mlxsw_sp1_ptys_max_speed() argument
1669 mlxsw_sp2_ptys_max_speed(struct mlxsw_sp_port *mlxsw_sp_port, u32 *p_max_speed) mlxsw_sp2_ptys_max_speed() argument
[all...]
H A Dspectrum_acl_tcam.c302 mlxsw_sp_acl_tcam_group_bind(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_group *group, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_acl_tcam_group_bind() argument
317 mlxsw_sp_acl_tcam_group_unbind(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_group *group, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_acl_tcam_group_unbind() argument
1635 mlxsw_sp_acl_tcam_flower_ruleset_bind(struct mlxsw_sp *mlxsw_sp, void *ruleset_priv, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_acl_tcam_flower_ruleset_bind() argument
1647 mlxsw_sp_acl_tcam_flower_ruleset_unbind(struct mlxsw_sp *mlxsw_sp, void *ruleset_priv, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_acl_tcam_flower_ruleset_unbind() argument
1777 mlxsw_sp_acl_tcam_mr_ruleset_bind(struct mlxsw_sp *mlxsw_sp, void *ruleset_priv, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_acl_tcam_mr_ruleset_bind() argument
1786 mlxsw_sp_acl_tcam_mr_ruleset_unbind(struct mlxsw_sp *mlxsw_sp, void *ruleset_priv, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_acl_tcam_mr_ruleset_unbind() argument
[all...]
H A Dspectrum_buffers.c138 static u32 mlxsw_sp_port_headroom_8x_adjust(const struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_headroom_8x_adjust() argument
383 void mlxsw_sp_hdroom_bufs_reset_sizes(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_hdroom_bufs_reset_sizes() argument
435 mlxsw_sp_hdroom_configure_buffers(struct mlxsw_sp_port *mlxsw_sp_port, const struct mlxsw_sp_hdroom *hdroom, bool force) mlxsw_sp_hdroom_configure_buffers() argument
467 mlxsw_sp_hdroom_configure_priomap(struct mlxsw_sp_port *mlxsw_sp_port, const struct mlxsw_sp_hdroom *hdroom, bool force) mlxsw_sp_hdroom_configure_priomap() argument
491 mlxsw_sp_hdroom_configure_int_buf(struct mlxsw_sp_port *mlxsw_sp_port, const struct mlxsw_sp_hdroom *hdroom, bool force) mlxsw_sp_hdroom_configure_int_buf() argument
524 __mlxsw_sp_hdroom_configure(struct mlxsw_sp_port *mlxsw_sp_port, const struct mlxsw_sp_hdroom *hdroom, bool force) __mlxsw_sp_hdroom_configure() argument
579 mlxsw_sp_hdroom_configure(struct mlxsw_sp_port *mlxsw_sp_port, const struct mlxsw_sp_hdroom *hdroom) mlxsw_sp_hdroom_configure() argument
585 mlxsw_sp_port_headroom_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_headroom_init() argument
963 mlxsw_sp_port_sb_cms_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_sb_cms_init() argument
1068 mlxsw_sp_port_sb_pms_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_sb_pms_init() argument
1296 mlxsw_sp_port_buffers_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_buffers_init() argument
1323 mlxsw_sp_port_buffers_fini(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_buffers_fini() argument
1416 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_sb_port_pool_get() local
1432 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_sb_port_pool_set() local
1458 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_sb_tc_pool_bind_get() local
1479 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_sb_tc_pool_bind_set() local
1715 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_sb_occ_port_pool_get() local
1732 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_sb_occ_tc_port_bind_get() local
[all...]
H A Dspectrum_qdisc.c100 mlxsw_sp_qdisc_find(struct mlxsw_sp_port *mlxsw_sp_port, u32 parent, bool root_only) mlxsw_sp_qdisc_find() argument
121 mlxsw_sp_qdisc_find_by_handle(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle) mlxsw_sp_qdisc_find_by_handle() argument
140 mlxsw_sp_qdisc_destroy(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc) mlxsw_sp_qdisc_destroy() argument
171 mlxsw_sp_qdisc_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, struct mlxsw_sp_qdisc_ops *ops, void *params) mlxsw_sp_qdisc_replace() argument
234 mlxsw_sp_qdisc_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, struct tc_qopt_offload_stats *stats_ptr) mlxsw_sp_qdisc_get_stats() argument
248 mlxsw_sp_qdisc_get_xstats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *xstats_ptr) mlxsw_sp_qdisc_get_xstats() argument
293 mlxsw_sp_qdisc_collect_tc_stats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u64 *p_tx_bytes, u64 *p_tx_packets, u64 *p_drops, u64 *p_backlog) mlxsw_sp_qdisc_collect_tc_stats() argument
339 mlxsw_sp_qdisc_get_tc_stats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, struct tc_qopt_offload_stats *stats_ptr) mlxsw_sp_qdisc_get_tc_stats() argument
357 mlxsw_sp_tclass_congestion_enable(struct mlxsw_sp_port *mlxsw_sp_port, int tclass_num, u32 min, u32 max, u32 probability, bool is_wred, bool is_ecn) mlxsw_sp_tclass_congestion_enable() argument
383 mlxsw_sp_tclass_congestion_disable(struct mlxsw_sp_port *mlxsw_sp_port, int tclass_num) mlxsw_sp_tclass_congestion_disable() argument
395 mlxsw_sp_setup_tc_qdisc_red_clean_stats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc) mlxsw_sp_setup_tc_qdisc_red_clean_stats() argument
421 mlxsw_sp_qdisc_red_destroy(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc) mlxsw_sp_qdisc_red_destroy() argument
436 mlxsw_sp_qdisc_red_check_params(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_red_check_params() argument
464 mlxsw_sp_qdisc_red_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_red_replace() argument
487 mlxsw_sp_qdisc_leaf_unoffload(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, struct gnet_stats_queue *qstats) mlxsw_sp_qdisc_leaf_unoffload() argument
500 mlxsw_sp_qdisc_red_unoffload(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_red_unoffload() argument
510 mlxsw_sp_qdisc_get_red_xstats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *xstats_ptr) mlxsw_sp_qdisc_get_red_xstats() argument
535 mlxsw_sp_qdisc_get_red_stats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, struct tc_qopt_offload_stats *stats_ptr) mlxsw_sp_qdisc_get_red_stats() argument
569 mlxsw_sp_setup_tc_red(struct mlxsw_sp_port *mlxsw_sp_port, struct tc_red_qopt_offload *p) mlxsw_sp_setup_tc_red() argument
603 mlxsw_sp_setup_tc_qdisc_leaf_clean_stats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc) mlxsw_sp_setup_tc_qdisc_leaf_clean_stats() argument
622 mlxsw_sp_qdisc_tbf_destroy(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc) mlxsw_sp_qdisc_tbf_destroy() argument
639 mlxsw_sp_qdisc_tbf_bs(struct mlxsw_sp_port *mlxsw_sp_port, u32 max_size, u8 *p_burst_size) mlxsw_sp_qdisc_tbf_bs() argument
680 mlxsw_sp_qdisc_tbf_check_params(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_tbf_check_params() argument
713 mlxsw_sp_qdisc_tbf_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_tbf_replace() argument
742 mlxsw_sp_qdisc_tbf_unoffload(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_tbf_unoffload() argument
752 mlxsw_sp_qdisc_get_tbf_stats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, struct tc_qopt_offload_stats *stats_ptr) mlxsw_sp_qdisc_get_tbf_stats() argument
771 mlxsw_sp_setup_tc_tbf(struct mlxsw_sp_port *mlxsw_sp_port, struct tc_tbf_qopt_offload *p) mlxsw_sp_setup_tc_tbf() argument
802 mlxsw_sp_qdisc_fifo_destroy(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc) mlxsw_sp_qdisc_fifo_destroy() argument
815 mlxsw_sp_qdisc_fifo_check_params(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_fifo_check_params() argument
823 mlxsw_sp_qdisc_fifo_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_fifo_replace() argument
831 mlxsw_sp_qdisc_get_fifo_stats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, struct tc_qopt_offload_stats *stats_ptr) mlxsw_sp_qdisc_get_fifo_stats() argument
849 mlxsw_sp_setup_tc_fifo(struct mlxsw_sp_port *mlxsw_sp_port, struct tc_fifo_qopt_offload *p) mlxsw_sp_setup_tc_fifo() argument
914 __mlxsw_sp_qdisc_ets_destroy(struct mlxsw_sp_port *mlxsw_sp_port) __mlxsw_sp_qdisc_ets_destroy() argument
934 mlxsw_sp_qdisc_prio_destroy(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc) mlxsw_sp_qdisc_prio_destroy() argument
950 mlxsw_sp_qdisc_prio_check_params(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_prio_check_params() argument
960 __mlxsw_sp_qdisc_ets_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, unsigned int nbands, const unsigned int *quanta, const unsigned int *weights, const u8 *priomap) __mlxsw_sp_qdisc_ets_replace() argument
1030 mlxsw_sp_qdisc_prio_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_prio_replace() argument
1042 __mlxsw_sp_qdisc_ets_unoffload(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, struct gnet_stats_queue *qstats) __mlxsw_sp_qdisc_ets_unoffload() argument
1054 mlxsw_sp_qdisc_prio_unoffload(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_prio_unoffload() argument
1065 mlxsw_sp_qdisc_get_prio_stats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, struct tc_qopt_offload_stats *stats_ptr) mlxsw_sp_qdisc_get_prio_stats() argument
1091 mlxsw_sp_setup_tc_qdisc_prio_clean_stats(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc) mlxsw_sp_setup_tc_qdisc_prio_clean_stats() argument
1126 mlxsw_sp_qdisc_ets_check_params(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_ets_check_params() argument
1136 mlxsw_sp_qdisc_ets_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_ets_replace() argument
1147 mlxsw_sp_qdisc_ets_unoffload(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params) mlxsw_sp_qdisc_ets_unoffload() argument
1158 mlxsw_sp_qdisc_ets_destroy(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc) mlxsw_sp_qdisc_ets_destroy() argument
1200 __mlxsw_sp_qdisc_ets_graft(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u8 band, u32 child_handle) __mlxsw_sp_qdisc_ets_graft() argument
1233 mlxsw_sp_qdisc_prio_graft(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, struct tc_prio_qopt_offload_graft_params *p) mlxsw_sp_qdisc_prio_graft() argument
1241 mlxsw_sp_setup_tc_prio(struct mlxsw_sp_port *mlxsw_sp_port, struct tc_prio_qopt_offload *p) mlxsw_sp_setup_tc_prio() argument
1274 mlxsw_sp_setup_tc_ets(struct mlxsw_sp_port *mlxsw_sp_port, struct tc_ets_qopt_offload *p) mlxsw_sp_setup_tc_ets() argument
1316 struct mlxsw_sp_port *mlxsw_sp_port; global() member
1330 struct mlxsw_sp_port *mlxsw_sp_port = qevent_binding->mlxsw_sp_port; mlxsw_sp_qevent_span_configure() local
1371 struct mlxsw_sp_port *mlxsw_sp_port = qevent_binding->mlxsw_sp_port; mlxsw_sp_qevent_span_deconfigure() local
1669 mlxsw_sp_qevent_binding_create(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, int tclass_num, enum mlxsw_sp_span_trigger span_trigger) mlxsw_sp_qevent_binding_create() argument
1692 mlxsw_sp_qevent_binding_lookup(struct mlxsw_sp_qevent_block *block, struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, enum mlxsw_sp_span_trigger span_trigger) mlxsw_sp_qevent_binding_lookup() argument
1707 mlxsw_sp_setup_tc_block_qevent_bind(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f, enum mlxsw_sp_span_trigger span_trigger) mlxsw_sp_setup_tc_block_qevent_bind() argument
1779 mlxsw_sp_setup_tc_block_qevent_unbind(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f, enum mlxsw_sp_span_trigger span_trigger) mlxsw_sp_setup_tc_block_qevent_unbind() argument
1808 mlxsw_sp_setup_tc_block_qevent(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f, enum mlxsw_sp_span_trigger span_trigger) mlxsw_sp_setup_tc_block_qevent() argument
1825 mlxsw_sp_setup_tc_block_qevent_early_drop(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f) mlxsw_sp_setup_tc_block_qevent_early_drop() argument
1831 mlxsw_sp_tc_qdisc_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_tc_qdisc_init() argument
1849 mlxsw_sp_tc_qdisc_fini(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_tc_qdisc_fini() argument
[all...]
H 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; mlxsw_sp1_ptp_got_timestamp() local
619 struct mlxsw_sp_port *mlxsw_sp_port; mlxsw_sp1_ptp_ht_gc_collect() local
884 mlxsw_sp1_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, struct hwtstamp_config *config) mlxsw_sp1_ptp_hwtstamp_get() argument
952 mlxsw_sp1_ptp_mtpppc_update(struct mlxsw_sp_port *mlxsw_sp_port, u16 ing_types, u16 egr_types) mlxsw_sp1_ptp_mtpppc_update() argument
991 mlxsw_sp1_ptp_hwtstamp_enabled(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp1_ptp_hwtstamp_enabled() argument
997 mlxsw_sp1_ptp_port_shaper_set(struct mlxsw_sp_port *mlxsw_sp_port, bool enable) mlxsw_sp1_ptp_port_shaper_set() argument
1006 mlxsw_sp1_ptp_port_shaper_check(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp1_ptp_port_shaper_check() argument
1032 struct mlxsw_sp_port *mlxsw_sp_port; mlxsw_sp1_ptp_shaper_work() local
1046 mlxsw_sp1_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, struct hwtstamp_config *config) mlxsw_sp1_ptp_hwtstamp_set() argument
1135 mlxsw_sp1_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, u64 *data, int data_index) mlxsw_sp1_get_stats() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flow.c34 mlxsw_sp_flow_block_lookup(struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_flow_block_lookup() argument
52 mlxsw_sp_flow_block_bind(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress, struct netlink_ext_ack *extack) mlxsw_sp_flow_block_bind() argument
107 mlxsw_sp_flow_block_unbind(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) mlxsw_sp_flow_block_unbind() argument
201 mlxsw_sp_setup_tc_block_bind(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f, bool ingress) mlxsw_sp_setup_tc_block_bind() argument
252 mlxsw_sp_setup_tc_block_unbind(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f, bool ingress) mlxsw_sp_setup_tc_block_unbind() argument
280 mlxsw_sp_setup_tc_block_clsact(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f, bool ingress) mlxsw_sp_setup_tc_block_clsact() argument
[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() argument
77 mlxsw_sp_mall_port_mirror_del(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_mall_port_mirror_del() argument
92 mlxsw_sp_mall_port_sample_set(struct mlxsw_sp_port *mlxsw_sp_port, bool enable, u32 rate) mlxsw_sp_mall_port_sample_set() argument
103 mlxsw_sp_mall_port_sample_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry, struct netlink_ext_ack *extack) mlxsw_sp_mall_port_sample_add() argument
134 mlxsw_sp_mall_port_sample_del(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_sample_del() argument
151 mlxsw_sp_mall_port_rule_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry, struct netlink_ext_ack *extack) mlxsw_sp_mall_port_rule_add() argument
169 mlxsw_sp_mall_port_rule_del(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp_mall_port_rule_del() argument
334 mlxsw_sp_mall_port_bind(struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port, struct netlink_ext_ack *extack) mlxsw_sp_mall_port_bind() argument
356 mlxsw_sp_mall_port_unbind(struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_mall_port_unbind() argument
379 mlxsw_sp1_mall_sample_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry, struct netlink_ext_ack *extack) mlxsw_sp1_mall_sample_add() argument
399 mlxsw_sp1_mall_sample_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp1_mall_sample_del() argument
411 mlxsw_sp2_mall_sample_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry, struct netlink_ext_ack *extack) mlxsw_sp2_mall_sample_add() argument
459 mlxsw_sp2_mall_sample_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_mall_entry *mall_entry) mlxsw_sp2_mall_sample_del() argument
[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; mlxsw_sp2_act_sampler_del() local
[all...]
H A Dspectrum_ptp.h137 mlxsw_sp1_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, struct hwtstamp_config *config) mlxsw_sp1_ptp_hwtstamp_get() argument
144 mlxsw_sp1_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, struct hwtstamp_config *config) mlxsw_sp1_ptp_hwtstamp_set() argument
169 mlxsw_sp1_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, u64 *data, int data_index) mlxsw_sp1_get_stats() argument
175 mlxsw_sp_ptp_txhdr_construct(struct mlxsw_core *mlxsw_core, struct mlxsw_sp_port *mlxsw_sp_port, struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) mlxsw_sp_ptp_txhdr_construct() argument
216 mlxsw_sp2_ptp_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, struct hwtstamp_config *config) mlxsw_sp2_ptp_hwtstamp_get() argument
223 mlxsw_sp2_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, struct hwtstamp_config *config) mlxsw_sp2_ptp_hwtstamp_set() argument
236 mlxsw_sp2_ptp_txhdr_construct(struct mlxsw_core *mlxsw_core, struct mlxsw_sp_port *mlxsw_sp_port, struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) mlxsw_sp2_ptp_txhdr_construct() argument
258 mlxsw_sp2_get_stats(struct mlxsw_sp_port *mlxsw_sp_port, u64 *data, int data_index) mlxsw_sp2_get_stats() argument
[all...]
H A Dspectrum_flower.c300 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_flower_parse_meta_iif() local
H A Dspectrum_dcb.c26 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_dcbnl_ieee_getets() local
33 static int mlxsw_sp_port_ets_validate(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_ets_validate() argument
67 static int mlxsw_sp_port_headroom_ets_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_headroom_ets_set() argument
91 __mlxsw_sp_dcbnl_ieee_setets(struct mlxsw_sp_port *mlxsw_sp_port, struct ieee_ets *ets) __mlxsw_sp_dcbnl_ieee_setets() argument
151 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_setets() local
203 mlxsw_sp_port_dcb_app_default_prio(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_dcb_app_default_prio() argument
216 mlxsw_sp_port_dcb_app_dscp_prio_map(struct mlxsw_sp_port *mlxsw_sp_port, u8 default_prio, struct dcb_ieee_app_dscp_map *map) mlxsw_sp_port_dcb_app_dscp_prio_map() argument
232 mlxsw_sp_port_dcb_app_prio_dscp_map(struct mlxsw_sp_port *mlxsw_sp_port, struct dcb_ieee_app_prio_map *map) mlxsw_sp_port_dcb_app_prio_dscp_map() argument
250 mlxsw_sp_port_dcb_app_update_qpts(struct mlxsw_sp_port *mlxsw_sp_port, enum mlxsw_reg_qpts_trust_state ts) mlxsw_sp_port_dcb_app_update_qpts() argument
261 mlxsw_sp_port_dcb_app_update_qrwe(struct mlxsw_sp_port *mlxsw_sp_port, bool rewrite_dscp) mlxsw_sp_port_dcb_app_update_qrwe() argument
273 mlxsw_sp_port_dcb_toggle_trust(struct mlxsw_sp_port *mlxsw_sp_port, enum mlxsw_reg_qpts_trust_state ts) mlxsw_sp_port_dcb_toggle_trust() argument
300 mlxsw_sp_port_dcb_app_update_qpdp(struct mlxsw_sp_port *mlxsw_sp_port, u8 default_prio) mlxsw_sp_port_dcb_app_update_qpdp() argument
311 mlxsw_sp_port_dcb_app_update_qpdpm(struct mlxsw_sp_port *mlxsw_sp_port, struct dcb_ieee_app_dscp_map *map) mlxsw_sp_port_dcb_app_update_qpdpm() argument
325 mlxsw_sp_port_dcb_app_update_qpdsm(struct mlxsw_sp_port *mlxsw_sp_port, struct dcb_ieee_app_prio_map *map) mlxsw_sp_port_dcb_app_update_qpdsm() argument
338 mlxsw_sp_port_dcb_app_update(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_dcb_app_update() argument
398 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_setapp() local
423 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_delapp() local
439 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_getmaxrate() local
449 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_setmaxrate() local
477 mlxsw_sp_port_pfc_cnt_get(struct mlxsw_sp_port *mlxsw_sp_port, u8 prio) mlxsw_sp_port_pfc_cnt_get() argument
500 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_getpfc() local
517 mlxsw_sp_port_pfc_set(struct mlxsw_sp_port *mlxsw_sp_port, struct ieee_pfc *pfc) mlxsw_sp_port_pfc_set() argument
534 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_ieee_setpfc() local
584 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_getbuffer() local
611 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); mlxsw_sp_dcbnl_setbuffer() local
655 mlxsw_sp_port_ets_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_ets_init() argument
667 mlxsw_sp_port_ets_fini(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_ets_fini() argument
672 mlxsw_sp_port_maxrate_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_maxrate_init() argument
687 mlxsw_sp_port_maxrate_fini(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_maxrate_fini() argument
692 mlxsw_sp_port_pfc_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_pfc_init() argument
704 mlxsw_sp_port_pfc_fini(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_pfc_fini() argument
709 mlxsw_sp_port_dcb_init(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_dcb_init() argument
735 mlxsw_sp_port_dcb_fini(struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_port_dcb_fini() argument
[all...]
H A Dspectrum_nve.c1015 int mlxsw_sp_port_nve_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_nve_init() argument
1024 void mlxsw_sp_port_nve_fini(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_nve_fini() argument
H A Dspectrum_trap.c92 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_rx_drop_listener() local
118 struct mlxsw_sp_port *mlxsw_sp_por in mlxsw_sp_rx_acl_drop_listener() local
62 mlxsw_sp_rx_listener(struct mlxsw_sp *mlxsw_sp, struct sk_buff *skb, u16 local_port, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_rx_listener() argument
145 struct mlxsw_sp_port *mlxsw_sp_port; __mlxsw_sp_rx_no_mark_listener() local
244 struct mlxsw_sp_port *mlxsw_sp_port; mlxsw_sp_psample_md_init() local
266 struct mlxsw_sp_port *mlxsw_sp_port; mlxsw_sp_rx_sample_listener() local
301 struct mlxsw_sp_port *mlxsw_sp_port, *mlxsw_sp_port_tx; mlxsw_sp_rx_sample_tx_listener() local
354 struct mlxsw_sp_port *mlxsw_sp_port; mlxsw_sp_rx_sample_acl_listener() local
[all...]
H A Dspectrum_acl.c420 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_fwd() local
795 struct mlxsw_sp_port *mlxsw_sp_por in mlxsw_sp_acl_rulei_act_sample() local
[all...]

Completed in 28 milliseconds

12