fs_ops
const struct fs_ops *ops;
const struct fs_ops *ops;
extern const struct fs_ops fs_fec_ops;
extern const struct fs_ops fs_fcc_ops;
extern const struct fs_ops fs_scc_ops;
const struct fs_ops fs_fcc_ops = {
const struct fs_ops fs_fec_ops = {
const struct fs_ops fs_scc_ops = {
struct mlx5_ct_fs_ops *fs_ops = mlx5_ct_fs_dmfs_ops_get();
fs_ops = mlx5_ct_fs_hmfs_ops_get();
fs_ops = mlx5_ct_fs_smfs_ops_get();
if (!fs_ops) {
ct_priv->fs = kzalloc(sizeof(*ct_priv->fs) + fs_ops->priv_size, GFP_KERNEL);
ct_priv->fs_ops = fs_ops;
err = ct_priv->fs_ops->init(ct_priv->fs, ct_priv->ct, ct_priv->ct_nat, post_ct);
ct_priv->fs_ops->destroy(ct_priv->fs);
ct_priv->fs_ops->ct_rule_del(ct_priv->fs, zone_rule->rule);
struct mlx5_ct_fs_ops *fs_ops;
zone_rule->rule = ct_priv->fs_ops->ct_rule_add(ct_priv->fs, spec, attr, flow_rule);
err = ct_priv->fs_ops->ct_rule_update(ct_priv->fs, zone_rule->rule, spec, attr);