Lines Matching refs:act_hw
587 struct prestera_acl_hw_action_info act_hw[PRESTERA_ACL_RULE_ACTION_MAX]; in __prestera_acl_rule_entry2hw_add() local
590 memset(&act_hw, 0, sizeof(act_hw)); in __prestera_acl_rule_entry2hw_add()
595 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_ACCEPT; in __prestera_acl_rule_entry2hw_add()
600 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_DROP; in __prestera_acl_rule_entry2hw_add()
605 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_TRAP; in __prestera_acl_rule_entry2hw_add()
610 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_POLICE; in __prestera_acl_rule_entry2hw_add()
611 act_hw[act_num].police = e->police.i; in __prestera_acl_rule_entry2hw_add()
616 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_JUMP; in __prestera_acl_rule_entry2hw_add()
617 act_hw[act_num].jump = e->jump.i; in __prestera_acl_rule_entry2hw_add()
622 act_hw[act_num].id = PRESTERA_ACL_RULE_ACTION_COUNT; in __prestera_acl_rule_entry2hw_add()
623 act_hw[act_num].count.id = e->counter.id; in __prestera_acl_rule_entry2hw_add()
629 act_hw, act_num, &e->hw_id); in __prestera_acl_rule_entry2hw_add()