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 728EBA0352; Tue, 8 Feb 2022 18:16:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 58B3041141; Tue, 8 Feb 2022 18:16:02 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id D4D6A4111B for ; Tue, 8 Feb 2022 18:16:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644340561; x=1675876561; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=so0S88hihtM4/scvAovZW3yeUK53sNwdbFzMp8NJnl8=; b=Yz1WrnbYAtPa8MWewoQKL2hp7dvkhDhXqfoRjOwLWYZhyTYjPZOB9UJ3 yoIj/YRsbZDp0EgA8dE56Q5t6Jy+Ey+RsDzFBxsimr3cBsdG8guFGsxwU 5dTvuSRppb6WOUa+DjlQbyQmwBb2d+LbRHCyFBlJ1+4OcpAQ3tKqQrsJK bkLRpZTjdsNF8QLK6H1+SgIFJRClE9AAHJ4ticjuzkynjF8xChCYWQg6H xdFs8PlZS/eEmCATVIkTg+75sAzrCSMLOqcdohQ0Q7depznsfZHiQsPNw 1Ia29SxGqqNmnAMYxNrgEbXMHfkE8uZW/fh0e4hnaKesYShrvgbVVUGdr g==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="246588369" X-IronPort-AV: E=Sophos;i="5.88,353,1635231600"; d="scan'208";a="246588369" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 09:16:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,353,1635231600"; d="scan'208";a="585260088" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga008.fm.intel.com with ESMTP; 08 Feb 2022 09:15:59 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 8 Feb 2022 09:15:59 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 8 Feb 2022 09:15:58 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Tue, 8 Feb 2022 09:15:58 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.106) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 8 Feb 2022 09:15:58 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KsmrP0zHNsloFdNLvqeqqH/FRg923hl3nfMqqDpWNoJKQVme1diNy3nKpMPcTor33ySNTVlr4lW8yweC2Lh7IqQDiET7qFldC4Or+VMyJJfRqkyIoNy3gjeC0DcKQq9RWmNnRQljMADSYHMTEQHLpQ0bZ5qFEM7WjzGPQbKzwgZtU3mVbfWUqfAK6K9uNS37ILGk4HQbF2ZRg/c+ZuK1Y6FLBkx/kf71JES9mZLAtFJenzz8+4qBc+JJmI6OkeHkJ+IJD5SaLCapgwpGYIk1bC+rba8266hArrb9TObGJ67r/nTfMZtI521Swllu1c7yi87YAJLc6hfyNxd0tnJWUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XNFOx+03yREVWgjBkUCzRZWEqU57vbSb0K1eqYoxvIw=; b=PzNJr4C0kAcVrpQvZfCnohz3Edjz7eUYXNGZTt1wzyE8tImcW1mzpCE8+C4KGInvBYLQuQAH/mbA6iqx8hbP7NftLcda7NDlTyy0B6L5BMf5ZV/TQHKhRqANbgooCBwT8nur/mNWK9jbvrgHWF3CcQNbSOaxnjUxJ+/XqVJP4Nf2Q9JdYGsE7sc8G6ZqeB0DXSoZqXwOxHjTHOCtI08iSemEoGDIee0yCXDfL461D/RaNMFf65LZ118ixWOA01DuLMrw01wVYui2auuGt3vc/WMnz2DiSwy+NiveHm00cFT+h93uOtNzX2nbZgZ/oE2URnkvKy/+1bAKW+rsEs7rAw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5093.namprd11.prod.outlook.com (2603:10b6:510:3e::23) by BYAPR11MB3607.namprd11.prod.outlook.com (2603:10b6:a03:b2::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.14; Tue, 8 Feb 2022 17:15:56 +0000 Received: from PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::ad52:b9b6:8147:b4d5]) by PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::ad52:b9b6:8147:b4d5%4]) with mapi id 15.20.4951.019; Tue, 8 Feb 2022 17:15:56 +0000 Message-ID: Date: Tue, 8 Feb 2022 17:15:51 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.5.1 Subject: Re: [PATCH v5 1/1] eal: add internal function to get base address Content-Language: en-US To: Srikanth Yalavarthi , Ray Kinsella CC: , , , References: <20220117112228.32572-1-syalavarthi@marvell.com> <20220118133340.25225-1-syalavarthi@marvell.com> From: "Burakov, Anatoly" In-Reply-To: <20220118133340.25225-1-syalavarthi@marvell.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0008.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:150::13) To PH0PR11MB5093.namprd11.prod.outlook.com (2603:10b6:510:3e::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4772c486-4eda-4461-d19f-08d9eb26ab61 X-MS-TrafficTypeDiagnostic: BYAPR11MB3607:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3826; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: x4gHj0UET/4vh83sKEeq1+xU9HjMBXGlanOyejiidDnNp5WCcSy1FbDsYvJTIACpc995EHMgjmPfiOukbQ3/f9duuAUUjVQoROmsK7ibM9Xb03zGzxGv0Q7c+o1fbmuQwllnTTVAdpA8Pw9yQS4678lZzo0+2Ta07jZTvTwNjqfFxjsD0LIEpuVPYxkk/C8vY08tPYNs+BfDC90vz/V9zaTYTr2kQ0ZFPMZVAoYV9wpivKSHdKnOyNh9NpziX1P3FUx25a0nUHrK+HqIn6CXfCF2R+TSObriuAT7WZTPxGljsTVZre3Az7rCIjl5wCRPmZ3/TqchMhv+V+A6RvVkM2hMBHbMEz8HBZptQRJUJuBqEYQuwdGk5oyVLfjUXL+eG7FZhHT5VbR6+yxhmThCEzH/SvzN6EAi/Fd3Ik9uN26gIcT84FAMbkY903LRJuuNS5MBW4DHm27b3vA7FMf8ioxZ/jMYXMPzhXRJPKBvvuOYbbdACRmemkCrnqZIUh3/KWNj2Ps9lZoA84V9QIeRTTcDDIJ1CUdgQOBxvh1RlPJum+Dtric9Lp1bLuqFC4XkGAJHEjLE8/LygYGNumWHeX6xEajCUxTMRNUPoxK+kfcheiPhDV22bzSj5rj5Vv9apozK36jg469ZyGx6sHflfm9v1hqES3630+ktuSszyYRd2FATteWamKvE/z8YcfYex1rXOr1NExHBPw7lWd2XlgkB5eRDepNs9nfqJwVBEtQ= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5093.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(31686004)(110136005)(6486002)(6512007)(2906002)(82960400001)(508600001)(38100700002)(66476007)(66556008)(8676002)(4744005)(6666004)(4326008)(36756003)(86362001)(31696002)(53546011)(83380400001)(186003)(6506007)(316002)(5660300002)(26005)(66946007)(8936002)(2616005)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?b1lzb3BTcGxucitrdmdXNlE4VkwrMlFEdlFRdGNkTGVCcXpRQ0pqaTk4Wmts?= =?utf-8?B?Nng4TzNldGl1VjZiZ0UrQjYxbzY3Q0ZnZFF4ZktrNVpKb3d3dGFGV2FCOUtn?= =?utf-8?B?bGxvcFcrTlZ0YnFqRWZlWFlzdjRpM1NCS1lyWU8zREpTYVJBSzZ6QnpRSDBS?= =?utf-8?B?S3RSVHM4RU9JMmRmZjN4eGhWMGZlaGJ4Rk5Mem16ZURMSUlwMllhZklpT1Ux?= =?utf-8?B?TENkMkRxTWhqWTkvQTRBRlJ2ZmZBVTk0UVhKa1VXdjBTVFJQS2FCeDd1OWJQ?= =?utf-8?B?ZEFHSDMyc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B?NlZORUZlN3JuTkpxMlB5Y0FPTWVqNDgrMW5WVElnVzVQLzZYeW9UQUtDVklY?= =?utf-8?B?ajJoeGUwT1MxaTNlemNpWStFTm1ZTm1xeGxPakN6RlY4bzh5U0dYUDVxSU80?= =?utf-8?B?Vnd2RTFtSmh4Szk2QnNBS3lveGF3PT0=?= X-MS-Exchange-CrossTenant-Network-Message-Id: 4772c486-4eda-4461-d19f-08d9eb26ab61 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5093.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2022 17:15:56.7328 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 3oBG57DlmvD4JdNGaxM76SkvBhzRLd7u2PYIyhEd32U4b9FbsJgmVnyzbS/x6s+ohsrXFBM037lri1qgAYOv8h2v6ecit4bpLXPypPvSoBI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3607 X-OriginatorOrg: intel.com 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 18-Jan-22 1:33 PM, Srikanth Yalavarthi wrote: > 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 > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly