Lines Matching defs:fs

15 	netdev_dbg(fs->netdev, "ct_fs_smfs debug: " fmt "\n", ##args)
47 mlx5_ct_fs_smfs_fill_mask(struct mlx5_ct_fs *fs, struct mlx5_flow_spec *spec, bool ipv4, bool tcp,
52 if (likely(MLX5_CAP_FLOWTABLE_NIC_RX(fs->dev, ft_field_support.outer_ip_version)))
90 mlx5_ct_fs_smfs_matcher_create(struct mlx5_ct_fs *fs, struct mlx5dr_table *tbl, bool ipv4,
100 mlx5_ct_fs_smfs_fill_mask(fs, spec, ipv4, tcp, gre);
112 mlx5_ct_fs_smfs_matcher_get(struct mlx5_ct_fs *fs, bool nat, bool ipv4, bool tcp, bool gre)
114 struct mlx5_ct_fs_smfs *fs_smfs = mlx5_ct_fs_priv(fs);
149 dr_matcher = mlx5_ct_fs_smfs_matcher_create(fs, tbl, ipv4, tcp, gre, prio);
151 netdev_warn(fs->netdev,
170 mlx5_ct_fs_smfs_matcher_put(struct mlx5_ct_fs *fs, struct mlx5_ct_fs_smfs_matcher *smfs_matcher)
172 struct mlx5_ct_fs_smfs *fs_smfs = mlx5_ct_fs_priv(fs);
183 mlx5_ct_fs_smfs_init(struct mlx5_ct_fs *fs, struct mlx5_flow_table *ct,
187 struct mlx5_ct_fs_smfs *fs_smfs = mlx5_ct_fs_priv(fs);
195 netdev_warn(fs->netdev, "ct_fs_smfs: failed to init, missing backing dr tables");
216 mlx5_ct_fs_smfs_destroy(struct mlx5_ct_fs *fs)
218 struct mlx5_ct_fs_smfs *fs_smfs = mlx5_ct_fs_priv(fs);
245 mlx5_ct_fs_smfs_ct_validate_flow_rule(struct mlx5_ct_fs *fs, struct flow_rule *flow_rule)
296 mlx5_ct_fs_smfs_ct_rule_add(struct mlx5_ct_fs *fs, struct mlx5_flow_spec *spec,
299 struct mlx5_ct_fs_smfs *fs_smfs = mlx5_ct_fs_priv(fs);
307 if (!mlx5_ct_fs_smfs_ct_validate_flow_rule(fs, flow_rule))
331 smfs_matcher = mlx5_ct_fs_smfs_matcher_get(fs, nat, ipv4, tcp, gre);
350 mlx5_ct_fs_smfs_matcher_put(fs, smfs_matcher);
359 mlx5_ct_fs_smfs_ct_rule_del(struct mlx5_ct_fs *fs, struct mlx5_ct_fs_rule *fs_rule)
366 mlx5_ct_fs_smfs_matcher_put(fs, smfs_rule->smfs_matcher);