Searched refs:res_type (Results 1 – 7 of 7) sorted by relevance
| /f-stack/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()
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_switch.c | 1946 sw_buf->res_type = in ice_alloc_sw() 1978 counter_buf->res_type = in ice_alloc_sw() 2027 sw_buf->res_type = CPU_TO_LE16(ICE_AQC_RES_TYPE_SWID); in ice_free_sw() 2570 sw_buf->res_type = in ice_aq_alloc_free_vsi_list() 2844 sw_buf->res_type = CPU_TO_LE16((ICE_AQC_RES_TYPE_RECIPE << in ice_alloc_recipe() 2921 u8 res_type; in ice_get_initial_sw_cfg() local 2935 res_type = (u8)(LE16_TO_CPU(ele->vsi_port_num) >> in ice_get_initial_sw_cfg() 2938 switch (res_type) { in ice_get_initial_sw_cfg() 2947 vsi_port_num, res_type, swid, in ice_get_initial_sw_cfg() 5701 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 | 2951 u16 res_type; in ice_alloc_tcam_ent() local 2953 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) in ice_alloc_tcam_ent() 2956 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx); in ice_alloc_tcam_ent() 2970 u16 res_type; in ice_free_tcam_ent() local 2972 if (!ice_tcam_ent_rsrc_type(blk, &res_type)) in ice_free_tcam_ent() 2975 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); in ice_free_tcam_ent() 2991 u16 res_type; in ice_alloc_prof_id() local 2994 if (!ice_prof_id_rsrc_type(blk, &res_type)) in ice_alloc_prof_id() 3016 u16 res_type; in ice_free_prof_id() local 3018 if (!ice_prof_id_rsrc_type(blk, &res_type)) in ice_free_prof_id() [all …]
|
| H A D | ice_switch.h | 434 struct ice_aqc_res_elem *buf, u16 buf_size, u16 res_type,
|
| H A D | ice_adminq_cmd.h | 286 __le16 res_type; /* Types defined above cmd 0x0204 */ member 313 __le16 res_type; /* Types defined above cmd 0x0204 */ member
|
| H A D | ice_common.c | 1741 buf->res_type = CPU_TO_LE16(type | ICE_AQC_RES_TYPE_FLAG_DEDICATED | in ice_alloc_hw_res() 1744 buf->res_type |= CPU_TO_LE16(ICE_AQC_RES_TYPE_FLAG_SCAN_BOTTOM); in ice_alloc_hw_res() 1779 buf->res_type = CPU_TO_LE16(type); in ice_free_hw_res()
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_ethdev.c | 2002 ice_get_hw_res(struct ice_hw *hw, uint16_t res_type, in ice_get_hw_res() argument 2023 cmd->ops.cmd.res = CPU_TO_LE16(((res_type << ICE_AQC_RES_TYPE_S) & in ice_get_hw_res() 2042 ice_cleanup_resource(struct ice_hw *hw, uint16_t res_type) in ice_cleanup_resource() argument 2050 ret = ice_get_hw_res(hw, res_type, ICE_MAX_RES_DESC_NUM, in ice_cleanup_resource() 2058 ret = ice_free_hw_res(hw, res_type, 1, &prof_buf[prof_id]); in ice_cleanup_resource()
|