02/06/2021 22:46, Stephen Hemminger: > On Wed, 2 Jun 2021 22:35:31 +0200 > Thomas Monjalon <tho...@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.
Absolutely yes, thanks for the catch.