Home
last modified time | relevance | path

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

/f-stack/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.c1735 struct ice_acl_cntrs cntrs; in ice_flow_acl_free_act_cntr() local
1738 cntrs.bank = 0; /* Only bank0 for the moment */ in ice_flow_acl_free_act_cntr()
1739 cntrs.first_cntr = in ice_flow_acl_free_act_cntr()
1741 cntrs.last_cntr = in ice_flow_acl_free_act_cntr()
1745 cntrs.type = ICE_AQC_ACL_CNT_TYPE_DUAL; in ice_flow_acl_free_act_cntr()
1747 cntrs.type = ICE_AQC_ACL_CNT_TYPE_SINGLE; in ice_flow_acl_free_act_cntr()
2336 struct ice_acl_cntrs cntrs; in ice_flow_acl_check_actions() local
2339 cntrs.amount = 1; in ice_flow_acl_check_actions()
2343 cntrs.type = ICE_AQC_ACL_CNT_TYPE_DUAL; in ice_flow_acl_check_actions()
2345 cntrs.type = ICE_AQC_ACL_CNT_TYPE_SINGLE; in ice_flow_acl_check_actions()
[all …]