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 5869E42C96; Mon, 12 Jun 2023 11:55:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CE4D242BB1; Mon, 12 Jun 2023 11:55:21 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id A55C74114A for ; Mon, 12 Jun 2023 11:55:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686563720; x=1718099720; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=DMoFGloBFhjzGrKgzJBrh4ZgxCy0SOnBKRFpc8AMfzc=; b=Yv24UVksIQIgrOkQT/Os668VqDXLmECzeSDd/fIDy5x0xykavq4mgxgy gepvh4jYGvEExV7LUQfg1AXJsIuwPBw7JztIeJ/szn8m8GiMQbRTSFt2s jvlSmPgV5zHfwSdGnwQNFOQHmdJX/UZUE742XntlB7WJG3M29DTsljKKL VvekgrOkkejAd2tsVYc/ox5Rh8gpstnItq+1yW4Sv3L605uzs0a8Cn7jT IdXRUM1d628NWARaQyWp3AdswS5ax9Yg40VqpfucN/y13nMFMSkBY4BqK tI0SAE539Dmm3F9nqQ2UIXE8TsogzrA+mqkzxDcf7Ko8ypg2ZlY4Coeol A==; X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="338361077" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="338361077" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2023 02:55:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="705317862" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="705317862" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga007.jf.intel.com with ESMTP; 12 Jun 2023 02:55:19 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 12 Jun 2023 02:55:18 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 12 Jun 2023 02:55:18 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Mon, 12 Jun 2023 02:55:18 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.41) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Mon, 12 Jun 2023 02:55:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UZCkYnB425Due+ys7IYMsPVOfmJCow0kOOz41QwJYR8J1wuLY6s/zPikblSNVL95slandT/4XRaopVFFNsLoQyokYJ0dfuq9S4K7ZD7+j15qsAapqC73pMaT4X4K9rmFJ440VeFjaVIqMoJmu/SPHcMuzElxA7tD76E1FIYin01Y6CtVDRzVMzgYQZxQhmTDIgHwhdEfRilcKK+mUBBEPcvzzFAIBZgSe5iVBV1HZCycniJkAPgcFXeu7ZRuasx1X2jFEEQJW/uLFG6osh4g9Ukl6eZNzoVUu+B/nvDQ7WfsgaNEO+DK/khwY4kLYqj9rq0ngektHP36d96un0Xg4w== 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=ROy3wT97K5g9wAOUuYIxosNb8K5FbyQWJkdmwMq2w/w=; b=nrVSr0hx+BoPsSRyY+zQQ/DEA7sMHNBipiigJ3Myapr+or2peYZcX3t5ycPGsysQzJJooaYH4wPUSLQevoOUVERZ8BPdbCQFlUGxYVdDteDVl22FmMoqpbgmPu8Xr97C7ASNsywMiVULe6H+6lypacXTdthFoNHMKTuy6CG/sXML92WsyCBLr4x8Aat4FRmQ7uDogXdwZdxjp06KAXPj8cDIr7xyP58UgO9cayNnVjOeIM9Q2qx6Dkr3rRspNQ2unJkY6k9X6iWoN0Dtm1jJN10MiGk9gDHuMJuKxVHbgzKAZ8sMqIVMG+KnTunuzEQpVLSFGCEjMK7jkWnxXOeW4A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by CYYPR11MB8329.namprd11.prod.outlook.com (2603:10b6:930:c7::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.29; Mon, 12 Jun 2023 09:55:16 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718%7]) with mapi id 15.20.6455.030; Mon, 12 Jun 2023 09:55:16 +0000 Message-ID: Date: Mon, 12 Jun 2023 10:55:12 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.11.1 Subject: Re: [PATCH] eal: add warning for incompatibe requested IOVA mode Content-Language: en-US To: Viacheslav Ovsiienko , CC: , References: <20230606153921.8074-1-viacheslavo@nvidia.com> From: "Burakov, Anatoly" In-Reply-To: <20230606153921.8074-1-viacheslavo@nvidia.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0694.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:37b::16) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|CYYPR11MB8329:EE_ X-MS-Office365-Filtering-Correlation-Id: b878967b-d78f-4499-8474-08db6b2b1fa7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: T08/uwBh2DQyJ/f4WivMLNMwD4CKKvWG558xgBIiHEBXClyJerGeajNjjzcAJ99TOD+Pi+7fLqW4UKLecXFjzr1PYSWShQQV/z16jY0YWbpE1ifJsrdILdLICzUy1mLN/IVoFnlTSxOgZsLRoQBknUQn4U9rjqMbhoJ7wLooUmQyCAaRnzFOk+9dkahAWSN+FHA5urqMapJKX0xGL+I3J0jsTNkpsTcY9bp6VUWqRs6OJG1jZp1g9csjDKx5aS1XwNgcCJ8eqpY7+y3gl+5bLkt+0yixxLgg/5uZLbhKNn15+f1PsSmmnOoNVt0i+x6IzsFoHUIbH8KeAOisrdOAekB6iI7afyS9BLqGoljKFKwwTt0PhYcppqy/KuN7xHaWKnfe0MfyLGBy3XDv+r6LEjDSXeAw5Sxy2FXWfbqktYu0aPOsrYsWjfIV9oymn7+girlPa+z40pFmzsrgIn9vYH/VxT1VLwsnVW8hnZJl7SFYQ55m5wAPLO3bTD0Bfr8eSZ2bBKkvgw6vf60x77r1lfRx0Q2DIDqfQUiwKdlrR6kqhS7K153D+Lynjyz8ebeuDGWVLaH1RMm+hF/gFk3C/i7eWicUTK0+616xMf0dKTxy7qdtjSTQZQ5Oztxpbr2hXF9fa5n37QOu0ozrtbjk4Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(346002)(39860400002)(366004)(376002)(396003)(136003)(451199021)(86362001)(83380400001)(31696002)(6512007)(6506007)(53546011)(2616005)(26005)(38100700002)(82960400001)(186003)(478600001)(6666004)(36756003)(6486002)(2906002)(4744005)(41300700001)(316002)(8936002)(8676002)(66946007)(31686004)(5660300002)(4326008)(66476007)(66556008)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?emxaWU1NM0JkOUEzSHhBelIybnRacHVUcUR0WHpuZFlUcUhWR2VpWENNeW9W?= =?utf-8?B?b2J6QUt6NUFaZmIzZEtSSVJZdDVkTDNOSk5LMUw1eERIQS90VjhJRS9vdmh2?= =?utf-8?B?b3QwUUpLRndmM00xZjdIWndlZVZUSXNhUnJyZWlIQkN2c1crR1FodmZScXZa?= =?utf-8?B?b3QxcFhHanpNRGFZY1k4NkFwTzJCNHNmK05OUDZlLzYxbVZhUkhNV2xMQ0Z4?= =?utf-8?B?SjBkVFlETmJRMVh6c2lkUmsxc2FHbGRtRE9sdHVPSlV3QmFvNEpnaG14M0pI?= =?utf-8?B?aDloYy9KYzFFVjFITHd5NEtqSEZ3Z1B0UjJVL0R2aExuWm9naDUyODNqcnp6?= =?utf-8?B?ZmFDWmphaFdxa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kSDlHZkNDVnkwZEdRM3EzN0RJUnFS?= =?utf-8?B?K3c9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: b878967b-d78f-4499-8474-08db6b2b1fa7 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2023 09:55:16.4483 (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: 1RyBZj1Em76tYsvqXVfGdJWEhfp1EvjkZ7tT/MK7QY0SBrLwtpdAK+UrLyai6iyfXg0AEhMl0SUG6NTfBvdxSRceIiJ1u/Znq2zJK6e1boM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR11MB8329 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 6/6/2023 4:39 PM, Viacheslav Ovsiienko wrote: > The DPDK can be compiled to be run in IOVA VA mode with > 'enable_iova_as_pa=false' meson option. It disables support > of the physical address field in the mbufs and application > can not be run in 'IOVA as PA mode'. > > The patch adds warning if some bus requires the 'IOVA as PA' > mode in runtime and the 'enable_iova_as_pa=false' meson option > was configured on build. > > Signed-off-by: Viacheslav Ovsiienko > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly