Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/ice/base/
H A Dice_switch.h409 ice_alloc_vlan_res_counter(struct ice_hw *hw, u16 *counter_id);
411 ice_free_vlan_res_counter(struct ice_hw *hw, u16 counter_id);
414 u16 *counter_id);
417 u16 counter_id);
425 u16 *counter_id);
427 ice_free_sw(struct ice_hw *hw, u16 sw_id, u16 counter_id);
H A Dice_switch.c1928 u16 *counter_id) in ice_alloc_sw() argument
1989 *counter_id = LE16_TO_CPU(counter_ele->e.sw_resp); in ice_alloc_sw()
3272 u16 counter_id, u16 l_id) in ice_add_counter_act() argument
3321 act |= (counter_id << ICE_LG_ACT_STAT_COUNT_S) & in ice_add_counter_act()
3344 m_ent->counter_index = counter_id; in ice_add_counter_act()
5688 u16 *counter_id) in ice_alloc_res_cntr() argument
5726 u16 counter_id) in ice_free_res_cntr() argument
5741 buf->elem[0].e.sw_resp = CPU_TO_LE16(counter_id); in ice_free_res_cntr()
5761 counter_id); in ice_alloc_vlan_res_counter()
5773 counter_id); in ice_free_vlan_res_counter()
[all …]
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_fdir.h120 uint8_t counter_id; member
212 uint32_t counter_id; member
H A Dhns3_fdir.c439 if (action->counter_id & BIT(HNS3_FD_AD_COUNTER_HIGH_BIT)) in hns3_fd_ad_config()
452 HNS3_FD_AD_COUNTER_NUM_S, action->counter_id); in hns3_fd_ad_config()
777 ad_data.counter_id = rule->act_cnt.id; in hns3_config_action()
780 ad_data.counter_id = 0; in hns3_config_action()
H A Dhns3_flow.c204 cnt = hns3_counter_lookup(dev, flow->counter_id); in hns3_counter_query()
210 ret = hns3_get_count(&hns->hw, flow->counter_id, &value); in hns3_counter_query()
1834 flow->counter_id = fdir_rule.act_cnt.id; in hns3_flow_create()