Home
last modified time | relevance | path

Searched refs:customer_metrics (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/ena-com/
H A Dena_com.c2314 struct ena_customer_metrics *customer_metrics; in ena_com_set_supported_customer_metrics() local
2318 customer_metrics = &ena_dev->customer_metrics; in ena_com_set_supported_customer_metrics()
2320 customer_metrics->supported_metrics = ENA_ADMIN_CUSTOMER_METRICS_MIN_SUPPORT_MASK; in ena_com_set_supported_customer_metrics()
2328 customer_metrics->supported_metrics = in ena_com_set_supported_customer_metrics()
2329 ctx.get_resp.u.customer_metrics.reported_metrics; in ena_com_set_supported_customer_metrics()
2755 if (unlikely(len > ena_dev->customer_metrics.buffer_len)) { in ena_com_get_customer_metrics()
2765 if (!ena_dev->customer_metrics.supported_metrics) { in ena_com_get_customer_metrics()
2774 ena_dev->customer_metrics.buffer_dma_addr); in ena_com_get_customer_metrics()
2780 get_cmd->u.control_buffer.length = ena_dev->customer_metrics.buffer_len; in ena_com_get_customer_metrics()
2781 get_cmd->requested_metrics = ena_dev->customer_metrics.supported_metrics; in ena_com_get_customer_metrics()
[all …]
H A Dena_com.h432 struct ena_customer_metrics customer_metrics; member
1198 return !!(ena_dev->customer_metrics.supported_metrics & BIT64(metric_id)); in ena_com_get_customer_metric_support()
1208 return ENA_BITS_PER_U64(ena_dev->customer_metrics.supported_metrics); in ena_com_get_customer_metric_count()
/freebsd/sys/contrib/ena-com/ena_defs/
H A Dena_admin_defs.h562 struct ena_admin_customer_metrics customer_metrics; member