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 E972FA0548; Fri, 24 Sep 2021 16:52:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 68A154126F; Fri, 24 Sep 2021 16:52:14 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 7127D40041 for ; Fri, 24 Sep 2021 16:52:12 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10116"; a="203581706" X-IronPort-AV: E=Sophos;i="5.85,320,1624345200"; d="scan'208";a="203581706" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2021 07:52:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,320,1624345200"; d="scan'208";a="551837191" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by FMSMGA003.fm.intel.com with ESMTP; 24 Sep 2021 07:52:11 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 24 Sep 2021 07:52:11 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2242.12; Fri, 24 Sep 2021 07:52:10 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2242.12 via Frontend Transport; Fri, 24 Sep 2021 07:52:10 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) 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.2242.12; Fri, 24 Sep 2021 07:52:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QM4Dz8oPZeupaSNfC7LNrZLyKItarpn91jmaM+WWZXkLOEJ/w//KhOQylNYVaq6VlbdYd5YnZPViMTVhX5vLZBpcatBjAprOmXJdbsiU7KMFZG57Xs0JTHhfQZB6tIF7nRNRqNKlIdG76h7ejqDdWSsKgnAMrJvSvUFtnkktcBddIUI8RuuSarhr6Tf9B5SkZekPna7D4fpIFdeR4MtcO+NesnJ9yjWChdxZmxzipyddRCIljOAehtNEtSTAO4zciE308ympY8ahdmqu5dVdOOa6txX3NyvdGWkGfJh4i2RGBMdMqYpukdoHtJPCZU+CVrDRKrWfYZyoKVwLvF/axA== 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; bh=5PVzxX0YiW36jy3LBW4md/fkZTdxu0t6ya4Pux5ZJkg=; b=PdEbeG0lcXb1vKTn+qFBFv7ty4sLiaSMQTIkIGUyNwm4CD6xt0LPaNV1WI5CAplqAa20s74cdELuePMmcP+gjchIqAl5kJyTiy9qdKctH8zEiKraZ4p9/1Ku9NWJYBK126x2a9gJgGmrg5H4pgqMiAEu4x6k3x0JVNsxO1IqSB7PruYYDXN3q4r7ijMWz1IUMrY+BsySy0eOVic+FLKEepF954wTihtR77F3Jrg6E+0uQMaclcjCHrdrtuA2HaOOnaguXmC9uw7UHB/SyJHXFYZRvaeY4K/Zxvi2AArjVH/MvsvM0ZzyvotKOnjAH409xCz9/Rs1SuSBVhkp9n1eeg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5PVzxX0YiW36jy3LBW4md/fkZTdxu0t6ya4Pux5ZJkg=; b=eON3/kbpTDEQGtSVEPBM7Zmz40kEPH7nlvxx6LojsSW/k5tYhvOgd3n/x4ORNIOeDXETknsVSe2DuYVZc+NKhnocmLCvVeY3yOt0JRQG6BRwc1qxw2D7O2ds67VfwgAA2cbj3U/iRtsv9JNdCLc0sDjM+HIOZpvUH1Ixi4hgeNo= Authentication-Results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) by PH0PR11MB4821.namprd11.prod.outlook.com (2603:10b6:510:34::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14; Fri, 24 Sep 2021 14:52:08 +0000 Received: from PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::9578:a4b5:2716:fbaa]) by PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::9578:a4b5:2716:fbaa%6]) with mapi id 15.20.4544.018; Fri, 24 Sep 2021 14:52:08 +0000 To: Bruce Richardson , CC: , , References: <20210826183301.333442-1-bruce.richardson@intel.com> <20210924102942.2878051-1-bruce.richardson@intel.com> <20210924102942.2878051-6-bruce.richardson@intel.com> From: Conor Walsh Message-ID: <03a7c816-f641-5b34-fd2d-408cda035ba6@intel.com> Date: Fri, 24 Sep 2021 15:52:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: <20210924102942.2878051-6-bruce.richardson@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-ClientProxiedBy: DB6PR1001CA0026.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::12) To PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) MIME-Version: 1.0 Received: from [192.168.1.20] (64.43.0.18) by DB6PR1001CA0026.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14 via Frontend Transport; Fri, 24 Sep 2021 14:52:07 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 045830de-4088-47e4-a0df-08d97f6ae1f0 X-MS-TrafficTypeDiagnostic: PH0PR11MB4821: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:361; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SUEXyWZRyjAcK/zrCftcSiXp8i0BeN5/rairDEkorW6QbswnIrRzbr9oHFfVBr0pLeGzkP9SeT5vwG07Gdo4mLMfldq0IAowaZahzdZpEHHHAd19jx+OQtMuXJylCZvfFNZlKc6EjnriKGyqijwiGlPL9PCqv2jNkRyLL3jQvFX7Wzg5JhVq3mXgAR5oO1Y9TUSA2nkKaY8khcLtpCb4qmiAlEQWCc4IyShLNCFZrigWdv3yc+Zj7oi2BYP0cXuGekXiIUxKFJbycvjSo/V1B9mcB/JeUnBw3y3u2N8rRm5Whi3ktF0k2OnFvdEwS/SgUDQR73WM17Qtr+IFYHt4ixteTM/1XZBomG3ph6FN3WYEPLL9uqTrzGQqVfIixj8EVl2kGK0auaoX1US4//syp7vMoFlMbXi4ffC9wEybMgr7HvcbbmoIt4/lM5m0mzeLtIcBOv4ORZF6zCnPPjfcD2vbExpq8ehs7j3u0Kc1cKDyR8qB7XfdJQdaQnxTox1BQHD4bidU/xZWhGF7e+gTGwKmrwYDGJ8gjLIGYwbvTnzkTTSWUrWAd8un1yXfLK9uLnfgtMx2z85+7AsjM16BtHW/LqUgm3df1rqoXbmeh8+B2c4gjsNmgT00CZByctOFqqD8WXA58/0ZUpq3CMNaoQzRRPtWqVysm13p2+7GeWxMXKxu3wKRBoqJsZKzou1Uw9ZfpqUJ8H18ZwZtlP3uBDU+DY1iXth8SWAvyf/BOCE= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5207.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6666004)(31686004)(38100700002)(44832011)(31696002)(86362001)(5660300002)(2906002)(26005)(956004)(36756003)(186003)(53546011)(2616005)(66556008)(316002)(6486002)(8676002)(66476007)(16576012)(66946007)(558084003)(4326008)(8936002)(508600001)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YmtvMFVvMngwdXpYZ0w2RjVBZllGbEc4U0RZeFBlT21xY21FelRpamdyMDBP?= =?utf-8?B?MmRwV3d2WExqNnBVZmtWVFpwSnVxSWkvTnYyUEZ6RWU0RlJmZnpxUVFZRzl5?= =?utf-8?B?NHVrTmFnUlpLczRHZkFIcisyeWIwcFVHakY4b0c1bmhoazFFWVIzZ3FuQWhu?= =?utf-8?B?UUVhcjBiVTIrTTdxWmh6akdvd3Q5Nkx2SXQ2UE4zTWRxSXRtdVcydUJ0T1Zu?= =?utf-8?B?QVdEckhFa1djV1BldHFvaWV5TWhmb3JER2lqU3lvWlRjMDFqWUNyaTh4b0lY?= =?utf-8?B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?utf-8?B?clZabGJvOC9YTWNFZDdQMjVoT01sSC9uMXNYeEV0V1BtODUrZnNRelVPd2Zm?= =?utf-8?B?TmVKNnNGaSs3Q0xpRlZtOEtBNXE0Kzc0dmE5MHVaQ3lERDlPZDdtU09KZlNZ?= =?utf-8?B?S3FON3VXVUZrZVpGQTB3dkVuWS8ybzIzV0ZHSWVzeEpVY05yWGNTWkFhRnl6?= =?utf-8?B?OTMyVHRGUm5ZNktYeDlhQXZtTzk2YTZWYTVJMDNDZlhmTzlyTFVqSHAzRGFG?= =?utf-8?B?Y01YNCtsSGxqVDMwcGtOcTQ3ZHFySGk2em90Z0FhNTBRNVpDMmEzVGk5VXRQ?= =?utf-8?B?T3ZDVnpLYzQxUGwyazZoZ2hScm5jK2ZXWGJUVlk5S2hvVmZLY29YanhDeTdR?= =?utf-8?B?R0M1VHY5WUF1cEJVbFBDSTBQSHV3aEZYVzFTRW5UTnJGdTdtYkp5UHUyaVE5?= =?utf-8?B?cU92RUdRc3VIeGFDYitZWmFxU2h0NWEzQ3ZkMGJVaTZBQzBac3BGZ2hsU3h3?= =?utf-8?B?SUZObk4rS3FMdTdHSmp6cWs1TW9jZFY5RkNLVXhTQTF1cVpLdmN5YUVOTzdV?= =?utf-8?Q?Oi8mst69TA86mFi6wA2y7H7bCD8e+9n59S+k6fU?= X-MS-Exchange-CrossTenant-Network-Message-Id: 045830de-4088-47e4-a0df-08d97f6ae1f0 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5207.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2021 14:52:08.4655 (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: jB2eZ/rVyb8yRRoN2HfF8As6/NXrxzB1I4Z0unZ7AUNd/6VRFFPIOK6qNc/lH7Tl4J37covPtU7tPZ5MPjRPeg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4821 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v6 05/13] dmadev: add device iterator 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 24/09/2021 11:29, Bruce Richardson wrote: > Add a function and wrapper macro to iterate over all dma devices. > > Signed-off-by: Bruce Richardson > --- Reviewed-by: Conor Walsh