Searched refs:age_info (Results 1 – 5 of 5) sorted by relevance
435 struct mlx5_age_info *age_info; in mlx5_flow_aging_init() local438 age_info = &sh->port[i].age_info; in mlx5_flow_aging_init()439 age_info->flags = 0; in mlx5_flow_aging_init()440 TAILQ_INIT(&age_info->aged_counters); in mlx5_flow_aging_init()441 LIST_INIT(&age_info->aged_aso); in mlx5_flow_aging_init()442 rte_spinlock_init(&age_info->aged_sl); in mlx5_flow_aging_init()443 MLX5_AGE_SET(age_info, MLX5_AGE_TRIGGER); in mlx5_flow_aging_init()547 struct mlx5_age_info *age_info; in mlx5_age_event_prepare() local551 age_info = &sh->port[i].age_info; in mlx5_age_event_prepare()554 if (MLX5_AGE_GET(age_info, MLX5_AGE_TRIGGER)) in mlx5_age_event_prepare()[all …]
481 struct mlx5_age_info *age_info; in mlx5_aso_age_action_update() local525 age_info = GET_PORT_AGE_INFO(priv); in mlx5_aso_age_action_update()526 rte_spinlock_lock(&age_info->aged_sl); in mlx5_aso_age_action_update()533 LIST_INSERT_HEAD(&age_info->aged_aso, in mlx5_aso_age_action_update()535 MLX5_AGE_SET(age_info, in mlx5_aso_age_action_update()538 rte_spinlock_unlock(&age_info->aged_sl); in mlx5_aso_age_action_update()
558 #define MLX5_AGE_SET(age_info, BIT) \ argument559 ((age_info)->flags |= (1 << (BIT)))560 #define MLX5_AGE_GET(age_info, BIT) \ argument561 ((age_info)->flags & (1 << (BIT)))563 (&((priv)->sh->port[(priv)->dev_port - 1].age_info))586 struct mlx5_age_info age_info; member
5038 struct mlx5_age_info *age_info; in flow_dv_counter_remove_from_age() local5043 age_info = GET_PORT_AGE_INFO(priv); in flow_dv_counter_remove_from_age()5052 rte_spinlock_lock(&age_info->aged_sl); in flow_dv_counter_remove_from_age()5054 rte_spinlock_unlock(&age_info->aged_sl); in flow_dv_counter_remove_from_age()9327 struct mlx5_age_info *age_info; in flow_dv_aso_age_remove_from_age() local9332 age_info = GET_PORT_AGE_INFO(priv); in flow_dv_aso_age_remove_from_age()9340 rte_spinlock_lock(&age_info->aged_sl); in flow_dv_aso_age_remove_from_age()12513 struct mlx5_age_info *age_info; in flow_get_aged_flows() local12523 age_info = GET_PORT_AGE_INFO(priv); in flow_get_aged_flows()12524 rte_spinlock_lock(&age_info->aged_sl); in flow_get_aged_flows()[all …]
6611 struct mlx5_age_info *age_info; in mlx5_flow_aging_check() local6643 age_info = GET_PORT_AGE_INFO(priv); in mlx5_flow_aging_check()6644 rte_spinlock_lock(&age_info->aged_sl); in mlx5_flow_aging_check()6649 TAILQ_INSERT_TAIL(&age_info->aged_counters, cnt, next); in mlx5_flow_aging_check()6650 MLX5_AGE_SET(age_info, MLX5_AGE_EVENT_NEW); in mlx5_flow_aging_check()6652 rte_spinlock_unlock(&age_info->aged_sl); in mlx5_flow_aging_check()