Home
last modified time | relevance | path

Searched refs:counter_id (Results 1 – 6 of 6) sorted by relevance

/dpdk/drivers/net/hns3/
H A Dhns3_flow.h21 uint32_t counter_id; member
42 uint32_t counter_id; member
H A Dhns3_flow.c216 cnt = hns3_counter_lookup(dev, flow->counter_id); in hns3_counter_query()
222 ret = hns3_get_count(&hns->hw, flow->counter_id, &value); in hns3_counter_query()
365 if (hns3_counter_lookup(dev, indir->counter_id) == NULL) in hns3_handle_action_indirect()
370 rule->act_cnt.id = indir->counter_id; in hns3_handle_action_indirect()
1820 flow->counter_id = fdir_rule.act_cnt.id; in hns3_flow_create_fdir_rule()
2212 handle->counter_id = counter->id; in hns3_flow_action_create()
2240 counter = hns3_counter_lookup(dev, handle->counter_id); in hns3_flow_action_destroy()
2255 (void)hns3_counter_release(dev, handle->counter_id); in hns3_flow_action_destroy()
2282 flow.counter_id = handle->counter_id; in hns3_flow_action_query()
H A Dhns3_fdir.h118 uint8_t counter_id; member
H A Dhns3_fdir.c452 if (action->counter_id & BIT(HNS3_FD_AD_COUNTER_HIGH_BIT)) in hns3_fd_ad_config()
465 HNS3_FD_AD_COUNTER_NUM_S, action->counter_id); in hns3_fd_ad_config()
790 ad_data.counter_id = rule->act_cnt.id; in hns3_config_action()
793 ad_data.counter_id = 0; in hns3_config_action()
/dpdk/drivers/net/ice/base/
H A Dice_switch.h435 ice_alloc_vlan_res_counter(struct ice_hw *hw, u16 *counter_id);
437 ice_free_vlan_res_counter(struct ice_hw *hw, u16 counter_id);
440 u16 *counter_id);
443 u16 counter_id);
451 u16 *counter_id);
453 ice_free_sw(struct ice_hw *hw, u16 sw_id, u16 counter_id);
H A Dice_switch.c2541 u16 *counter_id) in ice_alloc_sw() argument
2602 *counter_id = LE16_TO_CPU(counter_ele->e.sw_resp); in ice_alloc_sw()
3951 u16 counter_id, u16 l_id) in ice_add_counter_act() argument
4000 act |= (counter_id << ICE_LG_ACT_STAT_COUNT_S) & in ice_add_counter_act()
4023 m_ent->counter_index = counter_id; in ice_add_counter_act()
6370 u16 *counter_id) in ice_alloc_res_cntr() argument
6408 u16 counter_id) in ice_free_res_cntr() argument
6423 buf->elem[0].e.sw_resp = CPU_TO_LE16(counter_id); in ice_free_res_cntr()
6443 counter_id); in ice_alloc_vlan_res_counter()
6455 counter_id); in ice_free_vlan_res_counter()
[all …]