Searched refs:mpesw_rule_count (Results 1 – 2 of 2) sorted by relevance
15 if (atomic_add_return(1, &ldev->lag_mpesw.mpesw_rule_count) != 1) in add_mpesw_rule()32 atomic_dec(&ldev->lag_mpesw.mpesw_rule_count); in add_mpesw_rule()38 if (!atomic_dec_return(&ldev->lag_mpesw.mpesw_rule_count) && in del_mpesw_rule()122 atomic_set(&ldev->lag_mpesw.mpesw_rule_count, 0); in mlx5_lag_mpesw_init()127 WARN_ON(atomic_read(&ldev->lag_mpesw.mpesw_rule_count)); in mlx5_lag_mpesw_cleanup()
12 atomic_t mpesw_rule_count; member