Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c4363 static int mlx4_do_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule);
4484 static int mlx4_undo_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule) in mlx4_undo_mirror_rule() argument
4488 err = rem_res_range(dev, fs_rule->com.owner, fs_rule->com.res_id, 1, RES_FS_RULE, 0); in mlx4_undo_mirror_rule()
4494 mlx4_cmd(dev, fs_rule->com.res_id, 0, 0, MLX4_QP_FLOW_STEERING_DETACH, in mlx4_undo_mirror_rule()
4976 static int mlx4_do_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule) in mlx4_do_mirror_rule() argument
4987 if (!fs_rule->mirr_mbox) { in mlx4_do_mirror_rule()
4992 memcpy(mailbox->buf, fs_rule->mirr_mbox, fs_rule->mirr_mbox_size); in mlx4_do_mirror_rule()
4993 err = mlx4_cmd_imm(dev, mailbox->dma, &reg_id, fs_rule->mirr_mbox_size >> 2, 0, in mlx4_do_mirror_rule()
5001 err = add_res_range(dev, fs_rule->com.owner, reg_id, 1, RES_FS_RULE, fs_rule->qpn); in mlx4_do_mirror_rule()
5005 err = get_res(dev, fs_rule->com.owner, reg_id, RES_FS_RULE, &mirr_rule); in mlx4_do_mirror_rule()
[all …]