Home
last modified time | relevance | path

Searched refs:age_info (Results 1 – 5 of 5) sorted by relevance

/dpdk/drivers/net/mlx5/
H A Dmlx5.c487 struct mlx5_age_info *age_info; in mlx5_flow_aging_init() local
490 age_info = &sh->port[i].age_info; in mlx5_flow_aging_init()
491 age_info->flags = 0; in mlx5_flow_aging_init()
492 TAILQ_INIT(&age_info->aged_counters); in mlx5_flow_aging_init()
493 LIST_INIT(&age_info->aged_aso); in mlx5_flow_aging_init()
494 rte_spinlock_init(&age_info->aged_sl); in mlx5_flow_aging_init()
495 MLX5_AGE_SET(age_info, MLX5_AGE_TRIGGER); in mlx5_flow_aging_init()
710 struct mlx5_age_info *age_info; in mlx5_age_event_prepare() local
714 age_info = &sh->port[i].age_info; in mlx5_age_event_prepare()
717 MLX5_AGE_UNSET(age_info, MLX5_AGE_EVENT_NEW); in mlx5_age_event_prepare()
[all …]
H A Dmlx5.h617 #define MLX5_AGE_SET(age_info, BIT) \ argument
618 ((age_info)->flags |= (1 << (BIT)))
619 #define MLX5_AGE_UNSET(age_info, BIT) \ argument
620 ((age_info)->flags &= ~(1 << (BIT)))
621 #define MLX5_AGE_GET(age_info, BIT) \ argument
622 ((age_info)->flags & (1 << (BIT)))
624 (&((priv)->sh->port[(priv)->dev_port - 1].age_info))
648 struct mlx5_age_info age_info; member
H A Dmlx5_flow_aso.c451 struct mlx5_age_info *age_info; in mlx5_aso_age_action_update() local
495 age_info = GET_PORT_AGE_INFO(priv); in mlx5_aso_age_action_update()
496 rte_spinlock_lock(&age_info->aged_sl); in mlx5_aso_age_action_update()
503 LIST_INSERT_HEAD(&age_info->aged_aso, in mlx5_aso_age_action_update()
505 MLX5_AGE_SET(age_info, in mlx5_aso_age_action_update()
508 rte_spinlock_unlock(&age_info->aged_sl); in mlx5_aso_age_action_update()
H A Dmlx5_flow_dv.c6296 struct mlx5_age_info *age_info; in flow_dv_counter_remove_from_age() local
6301 age_info = GET_PORT_AGE_INFO(priv); in flow_dv_counter_remove_from_age()
6310 rte_spinlock_lock(&age_info->aged_sl); in flow_dv_counter_remove_from_age()
6312 rte_spinlock_unlock(&age_info->aged_sl); in flow_dv_counter_remove_from_age()
12152 struct mlx5_age_info *age_info; in flow_dv_aso_age_remove_from_age() local
12157 age_info = GET_PORT_AGE_INFO(priv); in flow_dv_aso_age_remove_from_age()
12165 rte_spinlock_lock(&age_info->aged_sl); in flow_dv_aso_age_remove_from_age()
17773 struct mlx5_age_info *age_info; in flow_dv_get_aged_flows() local
17783 age_info = GET_PORT_AGE_INFO(priv); in flow_dv_get_aged_flows()
17784 rte_spinlock_lock(&age_info->aged_sl); in flow_dv_get_aged_flows()
[all …]
H A Dmlx5_flow.c8985 struct mlx5_age_info *age_info; in mlx5_flow_aging_check() local
9017 age_info = GET_PORT_AGE_INFO(priv); in mlx5_flow_aging_check()
9018 rte_spinlock_lock(&age_info->aged_sl); in mlx5_flow_aging_check()
9023 TAILQ_INSERT_TAIL(&age_info->aged_counters, cnt, next); in mlx5_flow_aging_check()
9024 MLX5_AGE_SET(age_info, MLX5_AGE_EVENT_NEW); in mlx5_flow_aging_check()
9026 rte_spinlock_unlock(&age_info->aged_sl); in mlx5_flow_aging_check()