Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5.c435 struct mlx5_age_info *age_info; in mlx5_flow_aging_init() local
438 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() local
551 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 …]
H A Dmlx5_flow_age.c481 struct mlx5_age_info *age_info; in mlx5_aso_age_action_update() local
525 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()
H A Dmlx5.h558 #define MLX5_AGE_SET(age_info, BIT) \ argument
559 ((age_info)->flags |= (1 << (BIT)))
560 #define MLX5_AGE_GET(age_info, BIT) \ argument
561 ((age_info)->flags & (1 << (BIT)))
563 (&((priv)->sh->port[(priv)->dev_port - 1].age_info))
586 struct mlx5_age_info age_info; member
H A Dmlx5_flow_dv.c5038 struct mlx5_age_info *age_info; in flow_dv_counter_remove_from_age() local
5043 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() local
9332 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() local
12523 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 …]
H A Dmlx5_flow.c6611 struct mlx5_age_info *age_info; in mlx5_flow_aging_check() local
6643 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()