[dpdk-dev] [PATCH v2 1/1] gpu/cuda: introduce CUDA driver
    Stephen Hemminger 
    stephen at networkplumber.org
       
    Mon Nov  8 19:35:29 CET 2021
    
    
  
On Thu, 4 Nov 2021 02:01:28 +0000
<eagostini at nvidia.com> wrote:
> +/* Single entry of the memory list */
> +struct mem_entry {
> +	CUdeviceptr ptr_d;
> +	void *ptr_h;
> +	size_t size;
> +	struct rte_gpu *dev;
> +	CUcontext ctx;
Not sure where these types CUdeviceptr and CUcontext are coming
from, but the code looks like Windows style not DPDK or Linux.
Please don't introduce CamelCase typedef's and never typedefs
for pointers.
    
    
More information about the dev
mailing list