Searched refs:smfs_rule (Results 1 – 1 of 1) sorted by relevance
301 struct mlx5_ct_fs_smfs_rule *smfs_rule; in mlx5_ct_fs_smfs_ct_rule_add() local310 smfs_rule = kzalloc(sizeof(*smfs_rule), GFP_KERNEL); in mlx5_ct_fs_smfs_ct_rule_add()311 if (!smfs_rule) in mlx5_ct_fs_smfs_ct_rule_add()315 if (!smfs_rule->count_action) { in mlx5_ct_fs_smfs_ct_rule_add()320 actions[num_actions++] = smfs_rule->count_action; in mlx5_ct_fs_smfs_ct_rule_add()344 smfs_rule->rule = rule; in mlx5_ct_fs_smfs_ct_rule_add()345 smfs_rule->smfs_matcher = smfs_matcher; in mlx5_ct_fs_smfs_ct_rule_add()347 return &smfs_rule->fs_rule; in mlx5_ct_fs_smfs_ct_rule_add()354 kfree(smfs_rule); in mlx5_ct_fs_smfs_ct_rule_add()365 mlx5_smfs_rule_destroy(smfs_rule->rule); in mlx5_ct_fs_smfs_ct_rule_del()[all …]