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 1CA4C45B61; Fri, 18 Oct 2024 00:40:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 005F640279; Fri, 18 Oct 2024 00:40:26 +0200 (CEST) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mails.dpdk.org (Postfix) with ESMTP id 930C340268 for ; Fri, 18 Oct 2024 00:40:25 +0200 (CEST) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-20b5affde14so10461425ad.3 for ; Thu, 17 Oct 2024 15:40:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1729204824; x=1729809624; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=VMm4VRa3uivcG4/ecDIQ6MDGrZPK8OtfE6QruZSuwso=; b=j2/YA3Zpoc0EA/ZXR5W+5HsOo+pfS4nCnrAQYNB7pbXWqiV5/kVJ9u3wK1Ee2XKqzG nJ+RO/702qLUwPYpd+adGhUdCmrYF5O+fnwKeTwMjuLbINY+ZVbw3mohwbQpYUpwqmWF kIiTUFO9mdUOsP+XNmeEFErQx6TUok8lDKMNEqnW/lKobnugvNqbxfnRWlnwctOqww93 UhyVbPKPtxDcmOvzIFFalLrCvidVmcqm2lcT6/odrL0VG1WCThpmdXxa+mKHWjw9PR8h poF8ahLyBmNAmvtb8c8HRppAdHUGSq5h+qrqu+dNvWU7ugaprPrzj3mtAGtN+KBMrUAZ +TVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729204824; x=1729809624; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VMm4VRa3uivcG4/ecDIQ6MDGrZPK8OtfE6QruZSuwso=; b=rJixxUHgf1RCTk6IwOl5201xF/V+FzdVFyJOF99d0xqoOqIo9fszWtEHkg+3zvbdi6 rb7QA3j4KTwWGCTpcfjtCxc1jxzt4lHacpVT65u213uDb/wpSe2yIwihXj2SCN7v7iB3 BaFeqcuqVVn13sn1HnS6GPlHR7KJ17iJojIVX6tFEJx13hXcEnOhSVumZvmjOeXV1W7c pKMWB3lTKsb2pyrqaORTYHVYFn76zeIKFYlxAYjiI02EmzNgaxOi9FyS+4sOQMqlWH0U FvUWIsxP0IrRJo/R7pf3GUmX+x/R91fJnWLIjNbWq79vFtMeq2DpLLfJQRwNzkz06jQX yy1g== X-Gm-Message-State: AOJu0YxeNayVCnmHR60KuFxdAzo13o9UkWptgLDKVbcjW/s4D1NjN6XH SdApbr+Wilz0lw4yc5XF69u3EMBhDxGkP5gBxUkR/ZlqcKfJnvnamJ2zfC6vKIU= X-Google-Smtp-Source: AGHT+IEaUT62jKBnZZTA5cGGAkq/l3j/JjftitRaLsdr3YcXRX/kvq5QtAkpi0ZscOPsuL5frepxDQ== X-Received: by 2002:a17:902:e80c:b0:202:26d:146c with SMTP id d9443c01a7336-20e5a71b6ecmr5863985ad.5.1729204824457; Thu, 17 Oct 2024 15:40:24 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e5a8f3d5asm1347125ad.217.2024.10.17.15.40.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2024 15:40:24 -0700 (PDT) Date: Thu, 17 Oct 2024 15:40:22 -0700 From: Stephen Hemminger To: Ajit Khaparde Cc: dev@dpdk.org, thomas@monjalon.net, eagostini@nvidia.com Subject: Re: [PATCH 2/2] gpu/cuda: extend cuda code to get PA of GPU Message-ID: <20241017154022.7650159b@hermes.local> In-Reply-To: <20240906041614.36962-3-ajit.khaparde@broadcom.com> References: <20240906041614.36962-1-ajit.khaparde@broadcom.com> <20240906041614.36962-3-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Thu, 5 Sep 2024 21:16:14 -0700 Ajit Khaparde wrote: > + sym_gdr_p2p_dma_map_buffer = dlsym(gdrclib, "gdr_p2p_dma_map_buffer"); > + if (sym_gdr_p2p_dma_map_buffer == NULL) { > + rte_cuda_log(ERR, "Failed to load GDRCopy symbol gdr_p2p_dma_map_buffer\n"); > + printf("Failed to load GDRCopy symbol gdr_p2p_dma_map_buffer\n"); > + return -1; > + } No calls to printf() are acceptable in DPDK drivers. There is a log message, that is sufficient here.