Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c4382 struct res_fs_rule *rrule; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() local
4446 err = get_res(dev, slave, vhcr->out_param, RES_FS_RULE, &rrule); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4451 rrule->mirr_mbox = kmalloc(mbox_size, GFP_KERNEL); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4452 if (!rrule->mirr_mbox) { in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4456 rrule->mirr_mbox_size = mbox_size; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4457 rrule->mirr_rule_id = 0; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4458 memcpy(rrule->mirr_mbox, inbox->buf, mbox_size); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4461 ctrl = (struct mlx4_net_trans_rule_hw_ctrl *)rrule->mirr_mbox; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4468 mlx4_do_mirror_rule(dev, rrule); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4508 struct res_fs_rule *rrule; in mlx4_QP_FLOW_STEERING_DETACH_wrapper() local
[all …]