Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c1036 struct mlx5_ct_entry *rev_entry; in mlx5_tc_ct_shared_counter_get() local
1057 rev_entry = mlx5_tc_ct_entry_get(ct_priv, &rev_tuple); in mlx5_tc_ct_shared_counter_get()
1059 if (IS_ERR(rev_entry)) { in mlx5_tc_ct_shared_counter_get()
1064 if (rev_entry && refcount_inc_not_zero(&rev_entry->counter->refcount)) { in mlx5_tc_ct_shared_counter_get()
1065 ct_dbg("Using shared counter entry=0x%p rev=0x%p", entry, rev_entry); in mlx5_tc_ct_shared_counter_get()
1066 shared_counter = rev_entry->counter; in mlx5_tc_ct_shared_counter_get()
1069 mlx5_tc_ct_entry_put(rev_entry); in mlx5_tc_ct_shared_counter_get()