On Thu, 4 Nov 2021 02:01:28 +0000 <eagost...@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.