[dpdk-dev] [PATCH] gpudev: introduce memory API
Stephen Hemminger
stephen at networkplumber.org
Wed Jun 2 22:46:24 CEST 2021
On Wed, 2 Jun 2021 22:35:31 +0200
Thomas Monjalon <thomas at monjalon.net> wrote:
> +/** Store a list of info for a given GPU. */
> +struct rte_gpu_info {
> + /** GPU device ID. */
> + uint16_t gpu_id;
> + /** Unique identifier name. */
> + char name[RTE_GPU_NAME_MAX_LEN];
> + /** Total memory available on device. */
> + size_t total_memory;
> + /** Total processors available on device. */
> + int processor_count;
Nit: shouldn't processor_count be unsigned.
More information about the dev
mailing list