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 722D8A00C2; Fri, 4 Feb 2022 20:28:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2AEC54013F; Fri, 4 Feb 2022 20:28:51 +0100 (CET) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mails.dpdk.org (Postfix) with ESMTP id 6C11640041 for ; Fri, 4 Feb 2022 20:28:49 +0100 (CET) Received: by mail-lj1-f174.google.com with SMTP id t9so9836742lji.12 for ; Fri, 04 Feb 2022 11:28:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ONaEdXjbx3LZq5iL4LSKfN3WzBgKjLXTR3Xq43M+fJU=; b=AaZty50BtQWPHHj/lnHltdCcElC7nU2fXt2AdWS0jB5nC8kussVoIZR2Ygd51q5ZEy +bz3ng1qRYFaZEWKygInjvTflidMFF4WkmcHnhv8gOKF4or9U7AG+t3DRJ/pKN1uaXrk 9AMY+v2utvdlwI2FDMHCC67Pr6wdJUPL59h6vp0ZS/cwyFGPcAUbN/8g8Qt1Sf+nu7ia XBp8ta/FVSOb78BcQy3mSQD7rhFdqqdnv5bcZg59Z3QR/B6jpKHjEXcV3x+zM2H3NxLH 12DPfqu6knvSivQr0lM3HqzVUhGOzi9eNzrRcL6Jp8seTWe6r4FM54HCUdQB7k5DrpUK 5sMg== 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=ONaEdXjbx3LZq5iL4LSKfN3WzBgKjLXTR3Xq43M+fJU=; b=bzrWMyrOamXs8dt3HfUCpVdT4K1bZNVdNfwxfTwcjZaRTL90e9ghU9Gjxn+JohVXVG rRM0gIW1WyBxMzKOEkRCX07HalHctuCYYwfVhJMzTg8XTHJZHaFUShM5UsXq+Xl+SGDd +TJWYxd2bY4AaO216s12KscmNl9V1FYiAvFjBLMq5/JbKa0MsN0Zc6WzBzjZrAFncElN fMXReVNC33GAD1ajMX7D6tQ7VduEvCSPhL8/9jFOO14pEFtIa7/I+W1XhDTodCpROsmx y3EYjHxjv/4MfXK0BUXfs6/hNPk1UtihgpyoHZWtl1y2ZwnKP4929lG4hYckRI1rDer/ lzRQ== X-Gm-Message-State: AOAM532piNTl1XO7zmY31W1fyZWCxyaDYRKZX+bcj6No+blwbWcIpSHa PSibeMyNk5hRrkB6MLVanWE= X-Google-Smtp-Source: ABdhPJy8whVsgqT64g8LOIuUsbJpzlKREsWmXXQpTyOIIvtYJeT/NvvB1kRjSOSTTTBOyNpepKWMTw== X-Received: by 2002:a2e:b1c9:: with SMTP id e9mr217063lja.513.1644002928838; Fri, 04 Feb 2022 11:28:48 -0800 (PST) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id r15sm430855lfi.57.2022.02.04.11.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 11:28:48 -0800 (PST) Date: Fri, 4 Feb 2022 22:28:47 +0300 From: Dmitry Kozlyuk To: Srikanth Yalavarthi Cc: Ray Kinsella , , , Subject: Re: [PATCH v5 1/1] eal: add internal function to get base address Message-ID: <20220204222847.09eb77ac@sovereign> In-Reply-To: <20220118133340.25225-1-syalavarthi@marvell.com> References: <20220117112228.32572-1-syalavarthi@marvell.com> <20220118133340.25225-1-syalavarthi@marvell.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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 2022-01-18 05:33 (UTC-0800), Srikanth Yalavarthi: > Added an internal helper to get OS-specific EAL mapping base address > > This helper can be used by the drivers to program offload / accelerator > devices, where the base address can be used as a reference address by > the accelerator to access the host memory > > An address can also be represented as an offset relative to the base > address using smaller data types > > Signed-off-by: Srikanth Yalavarthi > --- > lib/eal/common/eal_common_config.c | 9 +++++++++ > lib/eal/include/rte_eal.h | 9 +++++++++ > lib/eal/version.map | 1 + > 3 files changed, 19 insertions(+) Acked-by: Dmitry Kozlyuk