Searched refs:sw_buf (Results 1 – 1 of 1) sorted by relevance
154 struct ice_aqc_alloc_free_res_elem *sw_buf; in ice_alloc_rss_global_lut() local158 buf_len = ice_struct_size(sw_buf, elem, 1); in ice_alloc_rss_global_lut()159 sw_buf = (struct ice_aqc_alloc_free_res_elem *)ice_malloc(hw, buf_len); in ice_alloc_rss_global_lut()160 if (!sw_buf) in ice_alloc_rss_global_lut()163 sw_buf->num_elems = CPU_TO_LE16(1); in ice_alloc_rss_global_lut()164 sw_buf->res_type = CPU_TO_LE16(ICE_AQC_RES_TYPE_GLOBAL_RSS_HASH | in ice_alloc_rss_global_lut()168 status = ice_aq_alloc_free_res(hw, 1, sw_buf, buf_len, ice_aqc_opc_alloc_res, NULL); in ice_alloc_rss_global_lut()175 *global_lut_id = LE16_TO_CPU(sw_buf->elem[0].e.sw_resp); in ice_alloc_rss_global_lut()178 ice_free(hw, sw_buf); in ice_alloc_rss_global_lut()189 struct ice_aqc_alloc_free_res_elem *sw_buf; in ice_free_rss_global_lut() local[all …]