Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_hmfs.c199 struct mlx5_ct_fs_hmfs_rule *hmfs_rule; in mlx5_ct_fs_hmfs_ct_rule_add() local
206 hmfs_rule = kzalloc_obj(*hmfs_rule); in mlx5_ct_fs_hmfs_ct_rule_add()
207 if (!hmfs_rule) in mlx5_ct_fs_hmfs_ct_rule_add()
222 hmfs_rule->hmfs_matcher = hmfs_matcher; in mlx5_ct_fs_hmfs_ct_rule_add()
225 hmfs_rule->counter = attr->counter; in mlx5_ct_fs_hmfs_ct_rule_add()
227 hmfs_rule->hws_bwc_rule = in mlx5_ct_fs_hmfs_ct_rule_add()
230 if (!hmfs_rule->hws_bwc_rule) { in mlx5_ct_fs_hmfs_ct_rule_add()
235 return &hmfs_rule->fs_rule; in mlx5_ct_fs_hmfs_ct_rule_add()
238 mlx5_fc_put_hws_action(hmfs_rule->counter); in mlx5_ct_fs_hmfs_ct_rule_add()
241 kfree(hmfs_rule); in mlx5_ct_fs_hmfs_ct_rule_add()
[all …]