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 54607A0C49; Wed, 14 Jul 2021 07:58:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F23EE40140; Wed, 14 Jul 2021 07:58:18 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2064.outbound.protection.outlook.com [40.107.96.64]) by mails.dpdk.org (Postfix) with ESMTP id 909444003E for ; Wed, 14 Jul 2021 07:58:17 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F5yEE0NnmKcgxE3ixeouDUtm0pcHhO+k6jEiJykbuj8D/njgeVMGOclkSLEtfxAuv9+hP/i9eiINbDctShTa/0KAUhLrg4G3adkaocTtBx9ocNuBgF3U4U94KSTX6+UWaB3lW38d8p8K0ijV+Y4You5nRG4VgzZijCLE/FQx54tSfzjz477Eb+z3KHR0ngMLD/JrcSCMoiq4nGpztt6fm+jTj0F7Q4ssXLpIyDycU8gsfUaR6KwDoS5UZBPwZFl/fhjj/ahGFoeJmVeoPIduQ5j2ItnzydXV6BX8JrhIIMhLQl6F3Yiz7QJzaVTUn+lh35Ky6Ew132VCBc3qzZ/CPA== 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-SenderADCheck; bh=PUXdS9xHqQfTWK2AqmVMa24UvykZZ4GW2gOmswumjNo=; b=UE8aiHsLOR7bqYPXVRf6etKsmEwFN+6z0l7GKcAE+xDjqDtbFhll3G5MHdbVxIzsCoqph/pCn97N4vUioChpmk/YXiuHOz0HN/Vu5vghrge5UQoFaOURRL7yheaB8iS6Zx8Rz1FSQWnmMITNLzIVLve/WQu/XUPQt51cAGoXDeR8XHy4ALA95UU1CWatDSRUjq2RDO3cvTYbbL9UQaFyL9nUO2TWCWWRpJCf4hiykHUhXJOyoZzVmlGc7mosLGSw4lXNV2E3laKtgcAcASM8YUekm2MBxjt0VwBd+RFU/vDOjE8N78E2gecHzjCGYGqA7TUEV4tIgkvewD6lkoIJvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PUXdS9xHqQfTWK2AqmVMa24UvykZZ4GW2gOmswumjNo=; b=qYBnBYEXDEH93W5BZZx626Nr0n78x0AYEBT7YIDSyCWso/Do6tXrA8qmMezBX+JAp9jMOgDs6tiQugiRDC7b17DkB0s7VqN9PmXnRGGffxZ8TkwaOuWgtg+E7NrXJWAYKOcX2BH9WiPZB7HExkC8Qfcdr3vLcnYbSo/eI1u2OHnk8oiBEzPT2/i83O23qRmCacB8TH7m1nBSI/tUjV8Kzt767sdElVse1oMI2aPGVlwdC+Vnw8IbupEO6nJvVvGLUdC5Smx17XE1bhnVBHuseh50o0wkDIEhgzqtt9PtxQNjdoak6TADFUX03ANHCj1j6xk8xFDlxM75k7a+UBAfwQ== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB2650.namprd12.prod.outlook.com (2603:10b6:5:4a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.21; Wed, 14 Jul 2021 05:58:15 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2521:f25e:e8db:6e35]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2521:f25e:e8db:6e35%6]) with mapi id 15.20.4331.022; Wed, 14 Jul 2021 05:58:15 +0000 From: Slava Ovsiienko To: "Xueming(Steven) Li" CC: "dev@dpdk.org" , Matan Azrad , Shahaf Shuler , Ray Kinsella Thread-Topic: [PATCH v2 01/14] common/mlx5: add common device driver Thread-Index: AQHXd+lDa4zBv8mbkkSop34hCBUCgqtB+mkg Date: Wed, 14 Jul 2021 05:58:15 +0000 Message-ID: References: <20210616040935.311733-2-xuemingl@nvidia.com> <20210713131437.30170-2-xuemingl@nvidia.com> In-Reply-To: <20210713131437.30170-2-xuemingl@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 383d84da-fc3f-4340-554e-08d9468c5f53 x-ms-traffictypediagnostic: DM6PR12MB2650: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KXxV/kL/Kof7EJmVtLkkItI+h4SrMjWtdY2djA+WNnAj1LL8Z+RrXFKNY4x+Ovumf9MmlGrAxer53rQrsaGUfxU6sd3SUIW9CNld2JiOZKmmI819AOQMcBUIAD7VGNHlN+PzenLU01GaVx2RTYUH6BhfSATJWNiisJsQUg8wIBqlfxaaRZ+XyhOUZb1aDyfrBsrA2eKW6dNsfLXX0HBLaTww4iRnKEuz/OiK8oTyinp8exY8Lhkd92Qnwp9KTr1bipV0tibLj5+ISbGUx4Rsac4AR4wC57ejqT9PBBkWF5Q3DW3uAiZhcO7uhlQrJg35IkRJdfHZl7Qk7hQCIUCjDNspiieVYFqM9+ODDiSl8Ne6A9xoywUcFOe+sWs7pqHjh3kNp5rU13hd8laY69DG+XH1OTMpuOKgqFhJb91sveXdlGFI01+cF/KUl0gOsybphSWpGsB2d+/YdxE6/ZsKzQdeciw2DIiP//oiJo/5Setr8UqZFpwIddohdt7prf/aO1CilsVWqgNP2+5ZeCkHRnaynKNMP2XXSmBSt/j2AwcBD6CItJ20vqGcJYduLKTk81xIbel2z8N70N61mzfTIACp3o40XBkGooqHHm1Xjkkr2I2MjN1jfyzfaniMUMrVHW0LuXEXFpcZRTOzr3R4p4k/vB1yPVUFLKmFpvIMB0G5u5YMCxhevxcejm1tx9YgpDXWCt8m2Qvcv3xWCNbfBA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(39860400002)(376002)(346002)(136003)(366004)(6862004)(64756008)(7696005)(6506007)(53546011)(83380400001)(316002)(71200400001)(2906002)(66556008)(55016002)(66476007)(55236004)(9686003)(122000001)(66946007)(5660300002)(8936002)(186003)(33656002)(76116006)(66446008)(38100700002)(4326008)(8676002)(26005)(6636002)(52536014)(478600001)(54906003)(86362001)(38070700004); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5OTST3vRbefDqImKkyRoSqkq7951Eq1i6tccpVXl6r6Wx9L0JAYZrtazgWpx?= =?us-ascii?Q?U1V9ladG9v0jxcUR4m0DW5N3E1xz8FoZgl+tPbJrU9YJkDyX+Ax/9/GUaIvp?= =?us-ascii?Q?ARqk/R8ANbUyz0LUJsSGGQfTna1FsLjeVzF63fLCI6vZFIqUYYxF3+izxVYd?= =?us-ascii?Q?nMZCLAl27EqpLNvZld7+iE86KuDRT5REIyQ2yHSM4gSGGx8iBBMWfMB0SbYo?= =?us-ascii?Q?Gf1JPM3v7R8vPLHYwKPIIeGj/64Jjl9zguTdOfm6EdDcdyJCRCATImla2NJV?= =?us-ascii?Q?1ClSd1SrpOgWSSJqVd8QTsZWhcYRohcQ0krm71dz8JAzelJVWj3kSDMHAJ0x?= =?us-ascii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OoyMtv7fG7oDyJg?= =?us-ascii?Q?9b/8A/ysnQZEs1Bo3mh3Biy+NiRLCHf7522/ly3MxNJ77iXIuZWnErCwIHxB?= =?us-ascii?Q?oUaSZeftd7mNsuZs5k6olFU9?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 383d84da-fc3f-4340-554e-08d9468c5f53 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jul 2021 05:58:15.7309 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: C4HCyrY2NPQvvw6NTRd6UgvW5mLj50POffK3cUGOnLSb6Wo1dzGUpr0oQ4sRDv4INCwcqEpsm+JGDc8ggw0paQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2650 Subject: Re: [dpdk-dev] [PATCH v2 01/14] common/mlx5: add common device driver 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" > -----Original Message----- > From: Xueming(Steven) Li > Sent: Tuesday, July 13, 2021 16:14 > To: Slava Ovsiienko > Cc: dev@dpdk.org; Xueming(Steven) Li ; Matan > Azrad ; Shahaf Shuler ; Ray > Kinsella > Subject: [PATCH v2 01/14] common/mlx5: add common device driver >=20 > To support auxiliary bus, introduces common device driver and callbacks, > suppose to replace mlx5 common PCI bus driver. >=20 > Mlx5 class drivers, i.e. eth, vDPA, regex and compress normally consumes > single Verbs device context to probe a device. The Verbs device comes fro= m > PCI address if the device is PCI bus device, from Auxiliary sysfs if the = device is > auxiliary bus device. Currently only PCI bus is supported. >=20 > Common device driver is a middle layer between mlx5 class drivers and bus= , > resolve and abstract bus info to Verbs device for class drivers. > Both PCI bus driver and Auxiliary bus driver can utilize the common drive= r > layer to cast bus operations to mlx5 class drivers. >=20 > Legacy mlx5 common PCI bus driver still being used by mlx5 eth, vDPA, reg= ex > and compress PMD, will remove once all PMD drivers migrate to new > common driver. >=20 > Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko