Lines Matching defs:mlxsw_sp

62 static int mlxsw_sp_rx_listener(struct mlxsw_sp *mlxsw_sp, struct sk_buff *skb,  in mlxsw_sp_rx_listener()
93 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_rx_drop_listener() local
119 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_rx_acl_drop_listener() local
146 struct mlxsw_sp *mlxsw_sp; in __mlxsw_sp_rx_no_mark_listener() local
197 struct mlxsw_sp *mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_ptp_listener() local
212 mlxsw_sp_sample_tx_port_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_sample_tx_port_get()
238 static void mlxsw_sp_psample_md_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_psample_md_init()
263 struct mlxsw_sp *mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_sample_listener() local
300 struct mlxsw_sp *mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_sample_tx_listener() local
349 struct mlxsw_sp *mlxsw_sp = devlink_trap_ctx_priv(trap_ctx); in mlxsw_sp_rx_sample_acl_listener() local
1166 mlxsw_sp_trap_policer_item_lookup(struct mlxsw_sp *mlxsw_sp, u32 id) in mlxsw_sp_trap_policer_item_lookup()
1180 mlxsw_sp_trap_group_item_lookup(struct mlxsw_sp *mlxsw_sp, u16 id) in mlxsw_sp_trap_group_item_lookup()
1194 mlxsw_sp_trap_item_lookup(struct mlxsw_sp *mlxsw_sp, u16 id) in mlxsw_sp_trap_item_lookup()
1207 static int mlxsw_sp_trap_cpu_policers_set(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_cpu_policers_set()
1227 static int mlxsw_sp_trap_dummy_group_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_dummy_group_init()
1236 static int mlxsw_sp_trap_policer_items_arr_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_policer_items_arr_init()
1283 static void mlxsw_sp_trap_policer_items_arr_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_policer_items_arr_fini()
1288 static int mlxsw_sp_trap_policers_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_policers_init()
1319 static void mlxsw_sp_trap_policers_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_policers_fini()
1334 static int mlxsw_sp_trap_group_items_arr_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_group_items_arr_init()
1366 static void mlxsw_sp_trap_group_items_arr_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_group_items_arr_fini()
1371 static int mlxsw_sp_trap_groups_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_groups_init()
1401 static void mlxsw_sp_trap_groups_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_groups_fini()
1422 static int mlxsw_sp_trap_items_arr_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_items_arr_init()
1454 static void mlxsw_sp_trap_items_arr_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_trap_items_arr_fini()
1459 static int mlxsw_sp_traps_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_traps_init()
1489 static void mlxsw_sp_traps_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_traps_fini()
1504 int mlxsw_sp_devlink_traps_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_devlink_traps_init()
1537 void mlxsw_sp_devlink_traps_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_devlink_traps_fini()
1547 struct mlxsw_sp *mlxsw_sp = mlxsw_core_driver_priv(mlxsw_core); in mlxsw_sp_trap_init() local
1573 struct mlxsw_sp *mlxsw_sp = mlxsw_core_driver_priv(mlxsw_core); in mlxsw_sp_trap_fini() local
1596 struct mlxsw_sp *mlxsw_sp = mlxsw_core_driver_priv(mlxsw_core); in mlxsw_sp_trap_action_set() local
1641 struct mlxsw_sp *mlxsw_sp = mlxsw_core_driver_priv(mlxsw_core); in __mlxsw_sp_trap_group_init() local
1689 mlxsw_sp_trap_policer_item_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_trap_policer_item_init()
1710 mlxsw_sp_trap_policer_item_fini(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_trap_policer_item_fini()
1731 static int __mlxsw_sp_trap_policer_set(struct mlxsw_sp *mlxsw_sp, u16 hw_id, in __mlxsw_sp_trap_policer_set()
1752 struct mlxsw_sp *mlxsw_sp = mlxsw_core_driver_priv(mlxsw_core); in mlxsw_sp_trap_policer_init() local
1780 struct mlxsw_sp *mlxsw_sp = mlxsw_core_driver_priv(mlxsw_core); in mlxsw_sp_trap_policer_fini() local
1795 struct mlxsw_sp *mlxsw_sp = mlxsw_core_driver_priv(mlxsw_core); in mlxsw_sp_trap_policer_set() local
1811 struct mlxsw_sp *mlxsw_sp = mlxsw_core_driver_priv(mlxsw_core); in mlxsw_sp_trap_policer_counter_get() local
1831 int mlxsw_sp_trap_group_policer_hw_id_get(struct mlxsw_sp *mlxsw_sp, u16 id, in mlxsw_sp_trap_group_policer_hw_id_get()
1879 mlxsw_sp1_trap_groups_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_trap_groups_init()
1889 static int mlxsw_sp1_traps_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_traps_init()
1947 mlxsw_sp2_trap_groups_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_trap_groups_init()
1957 static int mlxsw_sp2_traps_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_traps_init()