Lines Matching refs:get_resp
68 struct ena_admin_acq_get_stats_resp get_resp; member
978 struct ena_admin_get_feat_resp *get_resp, in ena_com_get_feature_ex() argument
1021 get_resp, in ena_com_get_feature_ex()
1022 sizeof(*get_resp)); in ena_com_get_feature_ex()
1032 struct ena_admin_get_feat_resp *get_resp, in ena_com_get_feature() argument
1037 get_resp, in ena_com_get_feature()
1114 struct ena_admin_get_feat_resp get_resp; in ena_com_indirect_table_allocate() local
1118 ret = ena_com_get_feature(ena_dev, &get_resp, in ena_com_indirect_table_allocate()
1123 if ((get_resp.u.ind_table.min_size > log_size) || in ena_com_indirect_table_allocate()
1124 (get_resp.u.ind_table.max_size < log_size)) { in ena_com_indirect_table_allocate()
1127 1 << log_size, 1 << get_resp.u.ind_table.min_size, in ena_com_indirect_table_allocate()
1128 1 << get_resp.u.ind_table.max_size); in ena_com_indirect_table_allocate()
1496 struct ena_admin_get_feat_resp get_resp; in ena_com_set_aenq_config() local
1499 ret = ena_com_get_feature(ena_dev, &get_resp, ENA_ADMIN_AENQ_CONFIG, 0); in ena_com_set_aenq_config()
1505 if ((get_resp.u.aenq.supported_groups & groups_flag) != groups_flag) { in ena_com_set_aenq_config()
1508 get_resp.u.aenq.supported_groups, groups_flag); in ena_com_set_aenq_config()
1888 struct ena_admin_acq_get_stats_resp *get_resp = &ctx->get_resp; in ena_get_dev_stats() local
1902 (struct ena_admin_acq_entry *)get_resp, in ena_get_dev_stats()
1903 sizeof(*get_resp)); in ena_get_dev_stats()
1928 ctx.get_resp.u.customer_metrics.reported_metrics; in ena_com_set_supported_customer_metrics()
1937 struct ena_admin_get_feat_resp get_resp; in ena_com_get_dev_attr_feat() local
1940 rc = ena_com_get_feature(ena_dev, &get_resp, in ena_com_get_dev_attr_feat()
1945 memcpy(&get_feat_ctx->dev_attr, &get_resp.u.dev_attr, in ena_com_get_dev_attr_feat()
1946 sizeof(get_resp.u.dev_attr)); in ena_com_get_dev_attr_feat()
1948 ena_dev->supported_features = get_resp.u.dev_attr.supported_features; in ena_com_get_dev_attr_feat()
1949 ena_dev->capabilities = get_resp.u.dev_attr.capabilities; in ena_com_get_dev_attr_feat()
1952 rc = ena_com_get_feature(ena_dev, &get_resp, in ena_com_get_dev_attr_feat()
1958 if (get_resp.u.max_queue_ext.version != ENA_FEATURE_MAX_QUEUE_EXT_VER) in ena_com_get_dev_attr_feat()
1961 memcpy(&get_feat_ctx->max_queue_ext, &get_resp.u.max_queue_ext, in ena_com_get_dev_attr_feat()
1962 sizeof(get_resp.u.max_queue_ext)); in ena_com_get_dev_attr_feat()
1964 get_resp.u.max_queue_ext.max_queue_ext.max_tx_header_size; in ena_com_get_dev_attr_feat()
1966 rc = ena_com_get_feature(ena_dev, &get_resp, in ena_com_get_dev_attr_feat()
1968 memcpy(&get_feat_ctx->max_queues, &get_resp.u.max_queue, in ena_com_get_dev_attr_feat()
1969 sizeof(get_resp.u.max_queue)); in ena_com_get_dev_attr_feat()
1971 get_resp.u.max_queue.max_header_size; in ena_com_get_dev_attr_feat()
1977 rc = ena_com_get_feature(ena_dev, &get_resp, in ena_com_get_dev_attr_feat()
1982 memcpy(&get_feat_ctx->aenq, &get_resp.u.aenq, in ena_com_get_dev_attr_feat()
1983 sizeof(get_resp.u.aenq)); in ena_com_get_dev_attr_feat()
1985 rc = ena_com_get_feature(ena_dev, &get_resp, in ena_com_get_dev_attr_feat()
1990 memcpy(&get_feat_ctx->offload, &get_resp.u.offload, in ena_com_get_dev_attr_feat()
1991 sizeof(get_resp.u.offload)); in ena_com_get_dev_attr_feat()
1996 rc = ena_com_get_feature(ena_dev, &get_resp, ENA_ADMIN_HW_HINTS, 0); in ena_com_get_dev_attr_feat()
1999 memcpy(&get_feat_ctx->hw_hints, &get_resp.u.hw_hints, sizeof(get_resp.u.hw_hints)); in ena_com_get_dev_attr_feat()
2005 rc = ena_com_get_feature(ena_dev, &get_resp, ENA_ADMIN_LLQ, 0); in ena_com_get_dev_attr_feat()
2007 memcpy(&get_feat_ctx->llq, &get_resp.u.llq, sizeof(get_resp.u.llq)); in ena_com_get_dev_attr_feat()
2174 memcpy(stats, &ctx.get_resp.u.eni_stats, in ena_com_get_eni_stats()
2175 sizeof(ctx.get_resp.u.eni_stats)); in ena_com_get_eni_stats()
2195 memcpy(info, &ctx.get_resp.u.ena_srd_info, in ena_com_get_ena_srd_info()
2196 sizeof(ctx.get_resp.u.ena_srd_info)); in ena_com_get_ena_srd_info()
2210 memcpy(stats, &ctx.get_resp.u.basic_stats, in ena_com_get_dev_basic_stats()
2211 sizeof(ctx.get_resp.u.basic_stats)); in ena_com_get_dev_basic_stats()
2316 struct ena_admin_get_feat_resp get_resp; in ena_com_set_hash_function() local
2326 ret = ena_com_get_feature(ena_dev, &get_resp, in ena_com_set_hash_function()
2331 if (!(get_resp.u.flow_hash_func.supported_func & BIT(rss->hash_func))) { in ena_com_set_hash_function()
2375 struct ena_admin_get_feat_resp get_resp; in ena_com_fill_hash_function() local
2386 rc = ena_com_get_feature_ex(ena_dev, &get_resp, in ena_com_fill_hash_function()
2393 if (!(BIT(func) & get_resp.u.flow_hash_func.supported_func)) { in ena_com_fill_hash_function()
2425 struct ena_admin_get_feat_resp get_resp; in ena_com_get_hash_function() local
2431 rc = ena_com_get_feature_ex(ena_dev, &get_resp, in ena_com_get_hash_function()
2439 rss->hash_func = ffs(get_resp.u.flow_hash_func.selected_func); in ena_com_get_hash_function()
2465 struct ena_admin_get_feat_resp get_resp; in ena_com_get_hash_ctrl() local
2468 rc = ena_com_get_feature_ex(ena_dev, &get_resp, in ena_com_get_hash_ctrl()
2698 struct ena_admin_get_feat_resp get_resp; in ena_com_indirect_table_get() local
2705 rc = ena_com_get_feature_ex(ena_dev, &get_resp, in ena_com_indirect_table_get()
2943 struct ena_admin_get_feat_resp get_resp; in ena_com_init_interrupt_moderation() local
2947 rc = ena_com_get_feature(ena_dev, &get_resp, in ena_com_init_interrupt_moderation()
2966 delay_resolution = get_resp.u.intr_moderation.intr_delay_resolution; in ena_com_init_interrupt_moderation()