Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dct_fs_dmfs.c12 struct mlx5_ct_fs_rule fs_rule; member
50 return &dmfs_rule->fs_rule; in mlx5_ct_fs_dmfs_ct_rule_add()
58 mlx5_ct_fs_dmfs_ct_rule_del(struct mlx5_ct_fs *fs, struct mlx5_ct_fs_rule *fs_rule) in mlx5_ct_fs_dmfs_ct_rule_del() argument
60 struct mlx5_ct_fs_dmfs_rule *dmfs_rule = container_of(fs_rule, in mlx5_ct_fs_dmfs_ct_rule_del()
62 fs_rule); in mlx5_ct_fs_dmfs_ct_rule_del()
Dct_fs_smfs.c40 struct mlx5_ct_fs_rule fs_rule; member
342 return &smfs_rule->fs_rule; in mlx5_ct_fs_smfs_ct_rule_add()
354 mlx5_ct_fs_smfs_ct_rule_del(struct mlx5_ct_fs *fs, struct mlx5_ct_fs_rule *fs_rule) in mlx5_ct_fs_smfs_ct_rule_del() argument
356 struct mlx5_ct_fs_smfs_rule *smfs_rule = container_of(fs_rule, in mlx5_ct_fs_smfs_ct_rule_del()
358 fs_rule); in mlx5_ct_fs_smfs_ct_rule_del()
Dct_fs.h27 void (*ct_rule_del)(struct mlx5_ct_fs *fs, struct mlx5_ct_fs_rule *fs_rule);
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c4364 static int mlx4_do_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule);
4485 static int mlx4_undo_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule) in mlx4_undo_mirror_rule() argument
4489 err = rem_res_range(dev, fs_rule->com.owner, fs_rule->com.res_id, 1, RES_FS_RULE, 0); in mlx4_undo_mirror_rule()
4495 mlx4_cmd(dev, fs_rule->com.res_id, 0, 0, MLX4_QP_FLOW_STEERING_DETACH, in mlx4_undo_mirror_rule()
4977 static int mlx4_do_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule) in mlx4_do_mirror_rule() argument
4988 if (!fs_rule->mirr_mbox) { in mlx4_do_mirror_rule()
4993 memcpy(mailbox->buf, fs_rule->mirr_mbox, fs_rule->mirr_mbox_size); in mlx4_do_mirror_rule()
4994 err = mlx4_cmd_imm(dev, mailbox->dma, &reg_id, fs_rule->mirr_mbox_size >> 2, 0, in mlx4_do_mirror_rule()
5002 err = add_res_range(dev, fs_rule->com.owner, reg_id, 1, RES_FS_RULE, fs_rule->qpn); in mlx4_do_mirror_rule()
5006 err = get_res(dev, fs_rule->com.owner, reg_id, RES_FS_RULE, &mirr_rule); in mlx4_do_mirror_rule()
[all …]