From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A12F8A0C4E; Mon, 8 Nov 2021 19:35:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 21DBF40E5A; Mon, 8 Nov 2021 19:35:34 +0100 (CET) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mails.dpdk.org (Postfix) with ESMTP id 2780040DF7 for ; Mon, 8 Nov 2021 19:35:33 +0100 (CET) Received: by mail-pj1-f53.google.com with SMTP id iq11so8751438pjb.3 for ; Mon, 08 Nov 2021 10:35:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Aqe323TYRWC8IvssRc6tEOczRcrdZbAbIp/A9CmajZg=; b=e1cPd51ZKbrjpjEjeIxBYaKazKR8LIJXBbSBIbwNEMFDwT+MAo/5NLHn9q1CgJh4U6 muVC0y9nAcZiDrWfPiZqXCP0Azllbp6WgiWsWZBge9pDTxgPm5BzMFIxZOXSQb1t5sAA eOqrjsZY60SMW0zprsxlmDzh+iy4OqmE4yG31/jBb1SX3MDCfPx3orgkZR8LECywjAHW nZC/L2WC20sHvKhfwiZBIMVO5WDEd/6akPnHmBxBxqQeHgmh3LO9/fFqtvd6Zh6R32Zp hVVySGXML7I4i/9qscj6WRaJ1pCtasaoIATOOxnrat1MAq/9tDeReVMX0m3TYTuigqyL GrOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Aqe323TYRWC8IvssRc6tEOczRcrdZbAbIp/A9CmajZg=; b=SPeUlIMgEhdGn2o8oNIxqX44cLN6Pt66yM8koMk61CgyghC6DjoLrwpy/vQYROQsGe LF014LR4c1+sveKE1jrm9cQpygv2fpz/z/TeZgJTryu0VSnj1RTuTjqmjd7zCN23zAof gkp7mtswJYPNO8CkmygD05PIzDUDr+PpJLI3ewNDe3ltAn2h9zDFMWG/RRbVVNGT+QIy XeBQ218f3FpmAppqXTvlMSpxSgxBS1PYm3fa1yTemTAIY104Nl1tRAZ8V46YMOqN0bBn 0LfWaNwRUACK88o9Wgk15g5+v0LlP+0Ok4m6n9GJgWp0ZhlBQBzqR+yvTKowv9Jl4uMG jOvA== X-Gm-Message-State: AOAM53216mlgnflZ6AlsiPFqyspo9Wv9Gdfh/zWuCNTSaxcEEj/tkVmC e1WAd4ZqHdpp9sAoJzZzssUQkQ== X-Google-Smtp-Source: ABdhPJzLMlsjsjU6REgWS/bts19t2gUQRBr7DBz27LLyteE5TXkqWTjjwjsLkUtmqnyejdzRdwXMlg== X-Received: by 2002:a17:90b:1643:: with SMTP id il3mr423577pjb.182.1636396532302; Mon, 08 Nov 2021 10:35:32 -0800 (PST) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id a20sm15964214pff.57.2021.11.08.10.35.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Nov 2021 10:35:32 -0800 (PST) Date: Mon, 8 Nov 2021 10:35:29 -0800 From: Stephen Hemminger To: Cc: Message-ID: <20211108103529.41007024@hermes.local> In-Reply-To: <20211104020128.13165-2-eagostini@nvidia.com> References: <20211005224905.13505-1-eagostini@nvidia.com> <20211104020128.13165-1-eagostini@nvidia.com> <20211104020128.13165-2-eagostini@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 1/1] gpu/cuda: introduce CUDA driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 4 Nov 2021 02:01:28 +0000 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.