Home
last modified time | relevance | path

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

/dpdk/drivers/net/ice/base/
H A Dice_acl.c337 if (!cntrs || !cntrs->amount) in ice_aq_acl_cntrs_chk_params()
340 switch (cntrs->type) { in ice_aq_acl_cntrs_chk_params()
353 if (cntrs->bank > ICE_AQC_ACL_MAX_CNT_DUAL) in ice_aq_acl_cntrs_chk_params()
386 status = ice_aq_acl_cntrs_chk_params(cntrs); in ice_aq_alloc_acl_cntrs()
391 cmd->counter_amount = cntrs->amount; in ice_aq_alloc_acl_cntrs()
392 cmd->counters_type = cntrs->type; in ice_aq_alloc_acl_cntrs()
393 cmd->bank_alloc = cntrs->bank; in ice_aq_alloc_acl_cntrs()
401 cntrs->first_cntr = first_cntr; in ice_aq_alloc_acl_cntrs()
402 cntrs->last_cntr = last_cntr; in ice_aq_alloc_acl_cntrs()
432 cmd->counters_type = cntrs->type; in ice_aq_dealloc_acl_cntrs()
[all …]
H A Dice_acl.h169 ice_aq_alloc_acl_cntrs(struct ice_hw *hw, struct ice_acl_cntrs *cntrs,
172 ice_aq_dealloc_acl_cntrs(struct ice_hw *hw, struct ice_acl_cntrs *cntrs,
H A Dice_flow.c2072 struct ice_acl_cntrs cntrs = { 0 }; in ice_flow_acl_free_act_cntr() local
2079 cntrs.amount = 1; in ice_flow_acl_free_act_cntr()
2081 cntrs.first_cntr = in ice_flow_acl_free_act_cntr()
2083 cntrs.last_cntr = in ice_flow_acl_free_act_cntr()
2087 cntrs.type = ICE_AQC_ACL_CNT_TYPE_DUAL; in ice_flow_acl_free_act_cntr()
2089 cntrs.type = ICE_AQC_ACL_CNT_TYPE_SINGLE; in ice_flow_acl_free_act_cntr()
2762 struct ice_acl_cntrs cntrs = { 0 }; in ice_flow_acl_check_actions() local
2765 cntrs.amount = 1; in ice_flow_acl_check_actions()
2769 cntrs.type = ICE_AQC_ACL_CNT_TYPE_DUAL; in ice_flow_acl_check_actions()
2771 cntrs.type = ICE_AQC_ACL_CNT_TYPE_SINGLE; in ice_flow_acl_check_actions()
[all …]