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()314 smfs_rule->count_action = mlx5_smfs_action_create_flow_counter(mlx5_fc_id(attr->counter)); 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()352 mlx5_smfs_action_destroy(smfs_rule->count_action); in mlx5_ct_fs_smfs_ct_rule_add()[all …]