Lines Matching defs:mlxsw_sp_port

252 				  struct mlxsw_sp_port *mlxsw_sp_port,  in mlxsw_sp_txhdr_ptp_data_construct()
301 struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_txhdr_handle()
342 int mlxsw_sp_port_vid_stp_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid, in mlxsw_sp_port_vid_stp_set()
373 int mlxsw_sp_port_admin_status_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_admin_status_set()
385 static int mlxsw_sp_port_dev_addr_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_dev_addr_set()
396 static int mlxsw_sp_port_dev_addr_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_dev_addr_init()
406 static int mlxsw_sp_port_max_mtu_get(struct mlxsw_sp_port *mlxsw_sp_port, int *p_max_mtu) in mlxsw_sp_port_max_mtu_get()
421 static int mlxsw_sp_port_mtu_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 mtu) in mlxsw_sp_port_mtu_set()
443 int mlxsw_sp_port_vp_mode_set(struct mlxsw_sp_port *mlxsw_sp_port, bool enable) in mlxsw_sp_port_vp_mode_set()
452 int mlxsw_sp_port_vid_learning_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid, in mlxsw_sp_port_vid_learning_set()
485 int mlxsw_sp_port_egress_ethtype_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_egress_ethtype_set()
501 static int __mlxsw_sp_port_pvid_set(struct mlxsw_sp_port *mlxsw_sp_port, in __mlxsw_sp_port_pvid_set()
519 static int mlxsw_sp_port_allow_untagged_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_allow_untagged_set()
529 int mlxsw_sp_port_pvid_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid, in mlxsw_sp_port_pvid_set()
556 mlxsw_sp_port_system_port_mapping_set(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_system_port_mapping_set()
680 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_open() local
704 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_stop() local
718 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_xmit() local
772 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_set_mac_address() local
788 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_change_mtu() local
820 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_sw_stats64() local
872 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_stats_raw() local
966 struct mlxsw_sp_port *mlxsw_sp_port = in update_stats_cache() local
993 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_stats64() local
998 static int __mlxsw_sp_port_vlan_set(struct mlxsw_sp_port *mlxsw_sp_port, in __mlxsw_sp_port_vlan_set()
1017 int mlxsw_sp_port_vlan_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid_begin, in mlxsw_sp_port_vlan_set()
1037 static void mlxsw_sp_port_vlan_flush(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_vlan_flush()
1061 mlxsw_sp_port_vlan_create(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_port_vlan_create()
1094 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port; in mlxsw_sp_port_vlan_destroy() local
1106 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_add_vid() local
1120 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_kill_vid() local
1137 static int mlxsw_sp_setup_tc_block(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_setup_tc_block()
1157 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_setup_tc() local
1179 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_feature_hw_tc() local
1198 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_feature_loopback() local
1265 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_get_devlink_port() local
1272 static int mlxsw_sp_port_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_hwtstamp_set()
1292 static int mlxsw_sp_port_hwtstamp_get(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_hwtstamp_get()
1309 static inline void mlxsw_sp_port_ptp_clear(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_ptp_clear()
1319 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_port_ioctl() local
1350 mlxsw_sp_port_speed_by_width_set(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_speed_by_width_set()
1379 int mlxsw_sp_port_speed_get(struct mlxsw_sp_port *mlxsw_sp_port, u32 *speed) in mlxsw_sp_port_speed_get()
1400 int mlxsw_sp_port_ets_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_ets_set()
1415 int mlxsw_sp_port_ets_maxrate_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_ets_maxrate_set()
1430 static int mlxsw_sp_port_min_bw_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_min_bw_set()
1445 int mlxsw_sp_port_prio_tc_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_prio_tc_set()
1456 static int mlxsw_sp_port_ets_init(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_ets_init()
1542 static int mlxsw_sp_port_tc_mc_mode_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_tc_mc_mode_set()
1552 static int mlxsw_sp_port_overheat_init_val_set(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_overheat_init_val_set()
1570 mlxsw_sp_port_vlan_classification_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_vlan_classification_set()
1604 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_create() local
1894 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp->ports[local_port]; in mlxsw_sp_port_remove() local
1923 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_cpu_port_create() local
1952 struct mlxsw_sp_port *mlxsw_sp_port = in mlxsw_sp_cpu_port_remove() local
2261 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_split() local
2324 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_unsplit() local
2369 mlxsw_sp_port_down_wipe_counters(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_down_wipe_counters()
2381 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_pude_event_func() local
2449 struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp->ports[local_port]; in mlxsw_sp_rx_listener_no_mark_func() local
4110 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_lower_get() local
4133 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_port_lower_dev_hold() local
4143 void mlxsw_sp_port_dev_put(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_dev_put()
4212 mlxsw_sp_port_lag_uppers_cleanup(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_lag_uppers_cleanup()
4246 static int mlxsw_sp_lag_col_port_add(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_lag_col_port_add()
4257 static int mlxsw_sp_lag_col_port_remove(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_lag_col_port_remove()
4268 static int mlxsw_sp_lag_col_port_enable(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_lag_col_port_enable()
4279 static int mlxsw_sp_lag_col_port_disable(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_lag_col_port_disable()
4356 static int mlxsw_sp_port_lag_join(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_lag_join()
4414 static void mlxsw_sp_port_lag_leave(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_lag_leave()
4449 static int mlxsw_sp_lag_dist_port_add(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_lag_dist_port_add()
4460 static int mlxsw_sp_lag_dist_port_remove(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_lag_dist_port_remove()
4472 mlxsw_sp_port_lag_col_dist_enable(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_lag_col_dist_enable()
4493 mlxsw_sp_port_lag_col_dist_disable(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_lag_col_dist_disable()
4514 static int mlxsw_sp_port_lag_changed(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_lag_changed()
4523 static int mlxsw_sp_port_stp_set(struct mlxsw_sp_port *mlxsw_sp_port, in mlxsw_sp_port_stp_set()
4548 static int mlxsw_sp_port_ovs_join(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_ovs_join()
4583 static void mlxsw_sp_port_ovs_leave(struct mlxsw_sp_port *mlxsw_sp_port) in mlxsw_sp_port_ovs_leave()
4663 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_netdevice_port_upper_event() local
4808 struct mlxsw_sp_port *mlxsw_sp_port; in mlxsw_sp_netdevice_port_lower_event() local
4869 struct mlxsw_sp_port *mlxsw_sp_port = netdev_priv(dev); in mlxsw_sp_netdevice_port_vlan_event() local