Searched refs:res_type (Results 1 – 8 of 8) sorted by relevance
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | bnxt_ulp.c | 153 res_type = info[i].resource_type; in bnxt_ulp_named_resources_calc() 157 res->ident_cnt[dir].cnt[res_type]++; in bnxt_ulp_named_resources_calc() 160 res->tbl_cnt[dir].cnt[res_type]++; in bnxt_ulp_named_resources_calc() 163 res->tcam_cnt[dir].cnt[res_type]++; in bnxt_ulp_named_resources_calc() 166 res->em_cnt[dir].cnt[res_type]++; in bnxt_ulp_named_resources_calc() 184 uint32_t dev_id, res_type, i; in bnxt_ulp_unnamed_resources_calc() local 210 res_type = info[i].resource_type; in bnxt_ulp_unnamed_resources_calc() 214 res->ident_cnt[dir].cnt[res_type] = info[i].count; in bnxt_ulp_unnamed_resources_calc() 217 res->tbl_cnt[dir].cnt[res_type] = info[i].count; in bnxt_ulp_unnamed_resources_calc() 220 res->tcam_cnt[dir].cnt[res_type] = info[i].count; in bnxt_ulp_unnamed_resources_calc() [all …]
|
| /dpdk/drivers/net/enic/base/ |
| H A D | vnic_wq.c | 11 unsigned int index, enum vnic_res_type res_type) in vnic_wq_get_ctrl() argument 13 wq->ctrl = vnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_switch.c | 2559 sw_buf->res_type = in ice_alloc_sw() 2591 counter_buf->res_type = in ice_alloc_sw() 2640 sw_buf->res_type = CPU_TO_LE16(ICE_AQC_RES_TYPE_SWID); in ice_free_sw() 3183 sw_buf->res_type = in ice_aq_alloc_free_vsi_list() 3514 sw_buf->res_type = CPU_TO_LE16((ICE_AQC_RES_TYPE_RECIPE << in ice_alloc_recipe() 3591 u8 res_type; in ice_get_initial_sw_cfg() local 3605 res_type = (u8)(LE16_TO_CPU(ele->vsi_port_num) >> in ice_get_initial_sw_cfg() 3608 switch (res_type) { in ice_get_initial_sw_cfg() 3621 vsi_port_num, res_type, swid, in ice_get_initial_sw_cfg() 6383 buf->res_type = CPU_TO_LE16(((type << ICE_AQC_RES_TYPE_S) & in ice_alloc_res_cntr() [all …]
|
| H A D | ice_flex_pipe.c | 3263 u16 res_type; in ice_alloc_tcam_ent() local 3265 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) in ice_alloc_tcam_ent() 3268 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx); in ice_alloc_tcam_ent() 3282 u16 res_type; in ice_free_tcam_ent() local 3284 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) in ice_free_tcam_ent() 3287 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); in ice_free_tcam_ent() 3303 u16 res_type; in ice_alloc_prof_id() local 3306 if (!ice_prof_id_rsrc_type(blk, &res_type)) in ice_alloc_prof_id() 3328 u16 res_type; in ice_free_prof_id() local 3330 if (!ice_prof_id_rsrc_type(blk, &res_type)) in ice_free_prof_id() [all …]
|
| H A D | ice_switch.h | 460 struct ice_aqc_res_elem *buf, u16 buf_size, u16 res_type,
|
| H A D | ice_adminq_cmd.h | 313 __le16 res_type; /* Types defined above cmd 0x0204 */ member 340 __le16 res_type; /* Types defined above cmd 0x0204 */ member
|
| H A D | ice_common.c | 2155 buf->res_type = CPU_TO_LE16(type | ICE_AQC_RES_TYPE_FLAG_DEDICATED | in ice_alloc_hw_res() 2158 buf->res_type |= CPU_TO_LE16(ICE_AQC_RES_TYPE_FLAG_SCAN_BOTTOM); in ice_alloc_hw_res() 2193 buf->res_type = CPU_TO_LE16(type); in ice_free_hw_res()
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_ethdev.c | 2061 ice_get_hw_res(struct ice_hw *hw, uint16_t res_type, in ice_get_hw_res() argument 2082 cmd->ops.cmd.res = CPU_TO_LE16(((res_type << ICE_AQC_RES_TYPE_S) & in ice_get_hw_res() 2101 ice_cleanup_resource(struct ice_hw *hw, uint16_t res_type) in ice_cleanup_resource() argument 2109 ret = ice_get_hw_res(hw, res_type, ICE_MAX_RES_DESC_NUM, in ice_cleanup_resource() 2117 ret = ice_free_hw_res(hw, res_type, 1, &prof_buf[prof_id]); in ice_cleanup_resource()
|