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 DF4A3A0C41; Tue, 7 Sep 2021 12:11:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB83941150; Tue, 7 Sep 2021 12:11:26 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 9F50A410EF for ; Tue, 7 Sep 2021 12:11:25 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10099"; a="200364048" X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="200364048" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2021 03:11:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="546735907" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga002.fm.intel.com with ESMTP; 07 Sep 2021 03:11:24 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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.2242.12; Tue, 7 Sep 2021 03:11:23 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 7 Sep 2021 03:11:23 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 7 Sep 2021 03:11:23 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.177) 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.2242.10; Tue, 7 Sep 2021 03:11:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B2ft9SimxDIPyLj5P2z9lcFhIvR+YGLr/LG/JNgkMcWBFSJE6y/U2oM8qWZzP6zPmWBkuAeCnsyIlcL2LSVGRm0GqHbYA2n80XxVlKboTgAFYWV6a8qQD2Ov7IPyppBzpHG6wA9c/s1wVjXtMN6TtvKC7fbj4LdGLot7g5a+cTb1TQ5f1EfVbBrRYL8roJwgj4pOiEp1YECDWn4/NFT3YlWGFiUkvTdccxGDRyCPG9cBLjJCgJzNV+UdGD9gxQi7XBhVaiqD7pm50yPWArRPpa8+IeVaI4ysCyXJsQcCyNtcNYeFDBgafwBnIxJL5gbonUW8v9XTemRr51gVR+cAwA== 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=h1tCsaKcaRVO535lET0n+Pcp+ZMXmq/V2l0Sd6rUvSI=; b=ReQu7KWxq8xrp+srsNCRxjQbgNH+a0ygxqyW8CSMwATYuwtldfDqSSmhGr/1jm/07g4K3JBhycKGIAcFneAiHxQvbSE9favNZuRZinRM1wgXutZj6ddkUB08KYYOw8BYJrzKaFKqBTzIGsaqdQ1omczmym8cz1V2ZhoFjptanRF9WYomM9sQB6T8TImJUBhavIfI/B2fX+uySfkHLbEMeydP1afZFYH7R1LXqlRA8TZtWE9TWdJJz87oI2qmnRqDjegmtxr4rbCffZA1xeeG1uA+6AZE9q0wc09fn4p2CYMd4V+CL1CgNDK3ebYvVJ42J9g59yzuI+I/KEjFI3MyCw== 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=h1tCsaKcaRVO535lET0n+Pcp+ZMXmq/V2l0Sd6rUvSI=; b=QWjTs6tF/ew3yaHWrIRKTdWGFyIAvE7iM6h42rqb5XHdx9fDW39bNCp/dnXyb3eex70vFflyPKfPSmexvnjXSF7LE5vkoaAOMtKbvo3VEOCBJpmeSGGdAgaJqLOMPvA/fxJJNvpSSRsi/bJ2gIlxuwkiJU+/Tf18TjTcOJtve9o= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) by BYAPR11MB3736.namprd11.prod.outlook.com (2603:10b6:a03:f6::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.22; Tue, 7 Sep 2021 10:11:20 +0000 Received: from SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::78d4:6f82:aa87:c271]) by SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::78d4:6f82:aa87:c271%5]) with mapi id 15.20.4478.025; Tue, 7 Sep 2021 10:11:20 +0000 To: Conor Walsh , , , CC: References: <20210827172550.1522362-1-conor.walsh@intel.com> <20210903111734.2734545-1-conor.walsh@intel.com> <20210903111734.2734545-3-conor.walsh@intel.com> From: Kevin Laatz Message-ID: <184adf97-a3a0-725c-b806-771614f172c0@intel.com> Date: Tue, 7 Sep 2021 11:11:14 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <20210903111734.2734545-3-conor.walsh@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-ClientProxiedBy: DU2PR04CA0153.eurprd04.prod.outlook.com (2603:10a6:10:2b0::8) To SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) MIME-Version: 1.0 Received: from [192.168.1.15] (109.79.106.71) by DU2PR04CA0153.eurprd04.prod.outlook.com (2603:10a6:10:2b0::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Tue, 7 Sep 2021 10:11:19 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3651c71c-3b4d-4edb-e0ad-08d971e7d6ae X-MS-TrafficTypeDiagnostic: BYAPR11MB3736: 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:1265; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QOeBPq9f4o8klX0MSWtNe756j07xn6S//c8Lvb+hi7erJcp7FaXelyXtZfsHxcxwGQaMsi+nwfYcQ1c1IlG6jlpvXyr4Zpy7ErXQ3+ESLtnsKSVDS1MfBVfp3KMKx+lI1zoosnfOs6vNUvLIKzLCVzdyA4LdZUYYGZWivy5jABl/qo1Gc6eVNSPA1ILTWvJNMhRbs6O8BUsL/yOjuryzMprC0sjdtadKCpumblzfRmPj+gGmCAeDJASTPJTQ4Nhr1g8tu8oMrElXL2URMIJJbEoGgPN//AADR16je6SUQ9DTTuPpkWYVRreCuwV4ppBhHZ9RMGiIn5t7UMUt2tztihwBrvmAUrRSqlSotA+JSn/gPPT2+N1ONe0my/4XbM7pXJqhUg/3Y2xWFU7Q6xkW7Ti8vzY9FRGf+9ddYSZ3ICVakGAXNjnoNCkq+QvSjBZWB/4NttgjeOzqDVUXyT+o03YwW+C8XV45jEkPXGHtm/zAKxWns9UOWcDquizu1z995np3OuibRuvdH12XtejsJfAx3HCYIDml2iDMXExR4XdCKwydYMFPC7Shze04Yt3aAeu6TTVnC4OVQBfbkWCaZyUnwDh6ORQ07puheAveE1JXOi1dUhH2HK+IK8K9rhAvalrUsYf10JZSHyr7Ll0xQdkpWJxz505oYBXKQplIB/fF98sxA4NKrrQtyOcSOqsTOiZOtS+OGFwchmpsVwXkYHwbG6BJcVjerHO36ibc04g= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5055.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(136003)(376002)(396003)(346002)(366004)(31686004)(478600001)(956004)(186003)(6486002)(83380400001)(26005)(38100700002)(5660300002)(2616005)(8676002)(4326008)(4744005)(53546011)(66556008)(66476007)(66946007)(6666004)(8936002)(31696002)(44832011)(36756003)(2906002)(16576012)(86362001)(316002)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TEdUWE01VGczQUtHZWsrZVlBd25veWtJYlhLRk53SWFtZ2Z1anpPTEY0cjZO?= =?utf-8?B?T0Z6RHQrbTdxSzR4eXVGUTI4T0lnaXNrTjNtdzhUbzdIMEh2Ukw2WE9NUmhq?= =?utf-8?B?czdWS0xudzZVWjBoZnRPYXd4NWQ1NFd1THBFQThnWkN3aS9jVzU0MUM3RmNh?= =?utf-8?B?YVdEaHlMWkdMT0R5aVNyWGJXMWlmekZEVkNBRGFWby9JUzZ1RU9xQnBaMWhm?= =?utf-8?B?SERtVmJ6aXAyN2JhZmpSbEpsbkF6Y1hDbmVvMlc5a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U1UVlEvS29TdTZvRWFQdTFYQ2Jtd3FQd2RMWW1vSURHVElqMG1n?= =?utf-8?B?TFJIeGwrWGpVMTZ3TG15enFtWWFRUEtxU0t4U1BZaElwMUpLNG4rejRvK2gr?= =?utf-8?B?M05LSUpQeFhoeFdWdkRpQ2t2Z1IxbXc0WkpqM2ttRDZJQmFZa0Q5Y09YK29s?= =?utf-8?B?RjBON1VPdFE0MFQ3Z3ZsOXJzRFRaalVBN2Y2U04rYWs2Y3N0SE1xWlB5UVQ1?= =?utf-8?B?dzBEOGloUmU3aGxSTFI4Nm84U1UwOWJQUkEzMjl2RDFZVnRaTk8wWEpkNEEz?= =?utf-8?B?aTN4Q2dUa0pnZUhCdnpvVjc5VDNaejZUVXZhbk52cWt2TFg1bzhzT1p1MlRW?= =?utf-8?B?UHo3Smx3dXpuN3ZJU01Ra1djR01oM0kxQXNwQnh3TEtOT3hXOXB0dzFmQTJQ?= =?utf-8?B?THRncTJRUWJML3Z0d1FKYUMyZm9PSFhJMFlrcWRFdjVmYUE2eWtSOExPMVRD?= =?utf-8?B?UTl6MmZCMHI3T3gyME1zY1VHbFJraVJ2VkQ3enpsRWpvYnZMNWJobXNGT2NY?= =?utf-8?B?dVFYNDBGaXNLSDZ6citnL095VGhOTEhPUHd2TDA2SDhFcjRuTUtEYmJWeU1p?= =?utf-8?Q?suCK8x1hbE1s92HoSxZGf1A5CteZXP9aXD76flU?= X-MS-Exchange-CrossTenant-Network-Message-Id: 3651c71c-3b4d-4edb-e0ad-08d971e7d6ae X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5055.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2021 10:11:20.3800 (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: FNpnSlSahVWP3iUKHOHNT+cSw2H99V20tOESHVY+wLoXFokY1AFThxRMUvYh2fp33A01t/NTbYsGlDFrKgPLWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3736 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 02/10] dma/ioat: create dmadev instances on PCI probe 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 03/09/2021 12:17, Conor Walsh wrote: > When a suitable device is found during the PCI probe, create a dmadev > instance for each channel. Internal structures and HW definitions required > for device creation are also included. > > Signed-off-by: Conor Walsh > --- > drivers/dma/ioat/ioat_dmadev.c | 108 ++++++++++++++++++++++++++++++- > drivers/dma/ioat/ioat_hw_defs.h | 45 +++++++++++++ > drivers/dma/ioat/ioat_internal.h | 24 +++++++ > 3 files changed, 175 insertions(+), 2 deletions(-) Reviewed-by: Kevin Laatz