Searched refs:scen (Results 1 – 4 of 4) sorted by relevance
28 scen->first_idx[ICE_ACL_PRIO_LOW] = scen->num_entry - 1; in ice_acl_init_entry()29 scen->first_idx[ICE_ACL_PRIO_NORMAL] = scen->num_entry - in ice_acl_init_entry()33 scen->last_idx[ICE_ACL_PRIO_LOW] = scen->num_entry - in ice_acl_init_entry()34 scen->num_entry / 4; in ice_acl_init_entry()35 scen->last_idx[ICE_ACL_PRIO_NORMAL] = scen->num_entry / 4; in ice_acl_init_entry()36 scen->last_idx[ICE_ACL_PRIO_HIGH] = scen->num_entry / 4 - 1; in ice_acl_init_entry()753 scen = (struct ice_acl_scen *)ice_malloc(hw, sizeof(*scen)); in ice_acl_create_scen()754 if (!scen) in ice_acl_create_scen()861 if (p->cfg.scen && p->cfg.scen->id == scen_id) { in ice_acl_destroy_scen()980 if (!scen) in ice_acl_add_entry()[all …]
194 ice_acl_add_entry(struct ice_hw *hw, struct ice_acl_scen *scen,198 ice_acl_prog_act(struct ice_hw *hw, struct ice_acl_scen *scen,201 ice_acl_rem_entry(struct ice_hw *hw, struct ice_acl_scen *scen, u16 entry_idx);
1387 struct ice_acl_scen *cand_scen = NULL, *scen; in ice_flow_sel_acl_scen() local1396 if (scen->eff_width >= params->entry_length && in ice_flow_sel_acl_scen()1398 cand_scen = scen; in ice_flow_sel_acl_scen()1402 params->prof->cfg.scen = cand_scen; in ice_flow_sel_acl_scen()2519 buf_sz = prof->cfg.scen->width; in ice_flow_acl_frmt_entry()2583 buf[prof->cfg.scen->pid_idx] = (u8)prof_id; in ice_flow_acl_frmt_entry()2584 dontcare[prof->cfg.scen->pid_idx] = 0; in ice_flow_acl_frmt_entry()2590 buf[prof->cfg.scen->pkt_dir_idx] = dir_flag_msk; in ice_flow_acl_frmt_entry()2593 buf[prof->cfg.scen->rng_chk_idx] = range; in ice_flow_acl_frmt_entry()2595 dontcare[prof->cfg.scen->rng_chk_idx] = ~range; in ice_flow_acl_frmt_entry()[all …]
459 struct ice_acl_scen *scen; member