[dpdk-dev] [PATCH] gpudev: introduce memory API
    Thomas Monjalon 
    thomas at monjalon.net
       
    Wed Jun  2 22:48:37 CEST 2021
    
    
  
02/06/2021 22:46, Stephen Hemminger:
> 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.
Absolutely yes, thanks for the catch.
    
    
More information about the dev
mailing list