Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_smfs.c122 matchers = nat ? &fs_smfs->matchers_nat : &fs_smfs->matchers; in mlx5_ct_fs_smfs_matcher_get()
128 mutex_lock(&fs_smfs->lock); in mlx5_ct_fs_smfs_matcher_get()
148 tbl = nat ? fs_smfs->ct_nat_tbl : fs_smfs->ct_tbl; in mlx5_ct_fs_smfs_matcher_get()
165 mutex_unlock(&fs_smfs->lock); in mlx5_ct_fs_smfs_matcher_get()
179 mutex_unlock(&fs_smfs->lock); in mlx5_ct_fs_smfs_matcher_put()
192 fs_smfs->ct_nat = ct_nat; in mlx5_ct_fs_smfs_init()
202 if (!fs_smfs->fwd_action) { in mlx5_ct_fs_smfs_init()
206 fs_smfs->ct_tbl = ct_tbl; in mlx5_ct_fs_smfs_init()
207 fs_smfs->ct_nat_tbl = ct_nat_tbl; in mlx5_ct_fs_smfs_init()
208 mutex_init(&fs_smfs->lock); in mlx5_ct_fs_smfs_init()
[all …]