Lines Matching refs:vcap_action_set

320 static void vcap_action_set(const struct vcap_props *vcap,  in vcap_action_set()  function
336 vcap_action_set(vcap, data, VCAP_IS2_ACT_MASK_MODE, a->mask_mode); in is2_action_set()
337 vcap_action_set(vcap, data, VCAP_IS2_ACT_PORT_MASK, a->port_mask); in is2_action_set()
338 vcap_action_set(vcap, data, VCAP_IS2_ACT_MIRROR_ENA, a->mirror_ena); in is2_action_set()
339 vcap_action_set(vcap, data, VCAP_IS2_ACT_POLICE_ENA, a->police_ena); in is2_action_set()
340 vcap_action_set(vcap, data, VCAP_IS2_ACT_POLICE_IDX, a->pol_ix); in is2_action_set()
341 vcap_action_set(vcap, data, VCAP_IS2_ACT_CPU_QU_NUM, a->cpu_qu_num); in is2_action_set()
342 vcap_action_set(vcap, data, VCAP_IS2_ACT_CPU_COPY_ENA, a->cpu_copy_ena); in is2_action_set()
652 vcap_action_set(vcap, data, VCAP_IS1_ACT_VID_REPLACE_ENA, in is1_action_set()
654 vcap_action_set(vcap, data, VCAP_IS1_ACT_VID_ADD_VAL, a->vid); in is1_action_set()
655 vcap_action_set(vcap, data, VCAP_IS1_ACT_VLAN_POP_CNT_ENA, in is1_action_set()
657 vcap_action_set(vcap, data, VCAP_IS1_ACT_VLAN_POP_CNT, in is1_action_set()
659 vcap_action_set(vcap, data, VCAP_IS1_ACT_PCP_DEI_ENA, a->pcp_dei_ena); in is1_action_set()
660 vcap_action_set(vcap, data, VCAP_IS1_ACT_PCP_VAL, a->pcp); in is1_action_set()
661 vcap_action_set(vcap, data, VCAP_IS1_ACT_DEI_VAL, a->dei); in is1_action_set()
662 vcap_action_set(vcap, data, VCAP_IS1_ACT_QOS_ENA, a->qos_ena); in is1_action_set()
663 vcap_action_set(vcap, data, VCAP_IS1_ACT_QOS_VAL, a->qos_val); in is1_action_set()
664 vcap_action_set(vcap, data, VCAP_IS1_ACT_PAG_OVERRIDE_MASK, in is1_action_set()
666 vcap_action_set(vcap, data, VCAP_IS1_ACT_PAG_VAL, a->pag_val); in is1_action_set()
786 vcap_action_set(vcap, data, VCAP_ES0_ACT_PUSH_OUTER_TAG, in es0_action_set()
788 vcap_action_set(vcap, data, VCAP_ES0_ACT_PUSH_INNER_TAG, in es0_action_set()
790 vcap_action_set(vcap, data, VCAP_ES0_ACT_TAG_A_TPID_SEL, in es0_action_set()
792 vcap_action_set(vcap, data, VCAP_ES0_ACT_TAG_A_VID_SEL, in es0_action_set()
794 vcap_action_set(vcap, data, VCAP_ES0_ACT_TAG_A_PCP_SEL, in es0_action_set()
796 vcap_action_set(vcap, data, VCAP_ES0_ACT_VID_A_VAL, a->vid_a_val); in es0_action_set()
797 vcap_action_set(vcap, data, VCAP_ES0_ACT_PCP_A_VAL, a->pcp_a_val); in es0_action_set()
798 vcap_action_set(vcap, data, VCAP_ES0_ACT_TAG_B_TPID_SEL, in es0_action_set()
800 vcap_action_set(vcap, data, VCAP_ES0_ACT_TAG_B_VID_SEL, in es0_action_set()
802 vcap_action_set(vcap, data, VCAP_ES0_ACT_TAG_B_PCP_SEL, in es0_action_set()
804 vcap_action_set(vcap, data, VCAP_ES0_ACT_VID_B_VAL, a->vid_b_val); in es0_action_set()
805 vcap_action_set(vcap, data, VCAP_ES0_ACT_PCP_B_VAL, a->pcp_b_val); in es0_action_set()