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 3EE47A0A02 for ; Wed, 5 May 2021 16:39:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2B9E541128; Wed, 5 May 2021 16:39:41 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 3FDEE40040; Wed, 5 May 2021 16:39:38 +0200 (CEST) IronPort-SDR: bRKpzxRUllEnLrbp3KSCJIZZwHyW1TfsfVNOJT8q/501j38nm6AptYpx+t5kob4pQGRt0eit1Q REEwNsucFmqg== X-IronPort-AV: E=McAfee;i="6200,9189,9975"; a="185687960" X-IronPort-AV: E=Sophos;i="5.82,275,1613462400"; d="scan'208";a="185687960" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2021 07:39:26 -0700 IronPort-SDR: aVHH3xx9gFMQrZjz5bIr3epQAu61EhNKmPMtn/iIqzv/q1WS2gaOcv8/K281Xlrnt+IhdgLWsL O789ca4Edohw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,275,1613462400"; d="scan'208";a="390352083" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 05 May 2021 07:39:25 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.2106.2; Wed, 5 May 2021 07:39:25 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 5 May 2021 07:39:24 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 5 May 2021 07:39:24 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.104) 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.2106.2; Wed, 5 May 2021 07:39:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cw5Xhk3Wu8ebm3dRNINgwW7bePS0JqLWGPIpQhz4pHPjlXdI5f5Slg9XhflQJB07dvi4zLHQorVLGbEWFQzM/wxVH0mIWa4nHyNiUB2t0QoHqpNK9Oalgc3UHn/uyx1XH+ygVQirLSBtWHPj6A96GjEb0MFPk4ATkR7t+CROwRucyk70lb4cofJxRH4yOFwxxsSuwSFDp3UHvIeZK3h+Wa02jIbvouGG8R0jGmXvJDLRHh8ko8yjkNb8noqrJJYij4BrnhGtravWoaVLyqUr6a3Tzr6VNfyessCkXEy+NjegR9LSvEJlhcnEL4MB4DzCpAwytI8oq4nNtnDR/shrIQ== 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=fsi9JkZWSvUdxv5HjYSCUd6es9EY+lceYtmMMoqgQv0=; b=CqA3bvU0//nFeb5l6jrQdh+ut7YuAFuukUxAjA0Rgg3hwq+YrEjv0FznVP52dwvO9JpvCgOjhuWL8KIRTLZ2wDGzvH+xEibOfNnm28OwAmM6Cdsq3bJrAWkTPruNTI/S1sZIOqTcl2mfxAJ+lusj1Xh8mFAe8r9BiKUMpm3yDkc5qvLx6/aho/wPVHFcd3Y0bQQPTq8rjrQTqaOayoa6UO7TIOmG6/INLwDd7B4uYeBGAnBOKjeo8P6VVOvmMn+o2seEAwQR4g993AlbOwBaJlFvPkIkoc3n4cy1sXNZYMYXSUtJXF96ZsrO5wzj9ZaWrge/A1RVY1dHHeGb47UR9Q== 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=fsi9JkZWSvUdxv5HjYSCUd6es9EY+lceYtmMMoqgQv0=; b=zIRtCgDy2VuPk9/iwXY9OO7J5YKVJJW0TYJAuadSPkzaeKD/xyJgeXQX+kS2Ew6Peb+2wyLdwngiiErKoakvLEz4bEmm5DYlVmYXExbYoKz+OcxpBeszE/aHbhkfN8VjdQ2yRvtBK/iHJrr08J7Ujna1KRwch4eVnK4if0fy92s= Received: from BYAPR11MB2901.namprd11.prod.outlook.com (2603:10b6:a03:91::23) by BY5PR11MB4243.namprd11.prod.outlook.com (2603:10b6:a03:1c8::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.44; Wed, 5 May 2021 14:39:22 +0000 Received: from BYAPR11MB2901.namprd11.prod.outlook.com ([fe80::f06a:af2a:e054:32c8]) by BYAPR11MB2901.namprd11.prod.outlook.com ([fe80::f06a:af2a:e054:32c8%4]) with mapi id 15.20.4087.044; Wed, 5 May 2021 14:39:22 +0000 From: "Xu, Rosen" To: Thomas Monjalon , "hemant.agrawal@nxp.com" , "Yigit, Ferruh" CC: "dev@dpdk.org" , "stable@dpdk.org" , "stephen@networkplumber.org" , "longli@microsoft.com" Thread-Topic: [dpdk-stable] [dpdk-dev] [PATCH] ethdev: add missing buses in dev iterator Thread-Index: AQHXQOPk1405CV6G/U2POi6zZmDxTarTeJkAgAF+d8A= Date: Wed, 5 May 2021 14:39:22 +0000 Message-ID: References: <20210429055548.12964-1-hemant.agrawal@nxp.com> <2232862.pp3s5jRlb4@thomas> In-Reply-To: <2232862.pp3s5jRlb4@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.5.1.3 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmNlODVjNGUtNGJmMi00MDg3LWE5MGEtYjIzZTFhZGZlM2NmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibVVhR09jSXZYREF3bHV4Rlc3cU1oKytqa0hRN1dtTjBYN1lBRk9PQ2pMV2tqaE5FTitBM05vUVZYWnYwNE9cL0QifQ== x-ctpclassification: CTP_NT authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.208] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fb3b33ab-3aac-44fc-166a-08d90fd392da x-ms-traffictypediagnostic: BY5PR11MB4243: 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:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mwRA/HlaGLV91ffCvJT/Z2Xidih9RkZBbQu4rhZdIlp+3Ql4FB+cD/VhTmvGhoAxMMgk0oqJY2cpitUhR6QhjUTGMY90ksvpAW4eNCrVrEAJrh0gbNG0ITGaoNOz+8kY9LkxnxEg7tbroDpb4PkYPO86QnlcOo3U/40Qt1LYw/Ta9RAFQYedQ1Wk5WKelhVlJSYLmyIQgYp3XzynYSm/b709xddT2SG38z3q0VLo/wMGDh+I4Ht2wSXVTu80iyoew/U4oOzGoSswkToVh7inNXeZbc2Tla3PQr7rK4G/QCouF58uolgrGY9wSisKYwCivg1GKmlOUOQAWhe3J1n8ruBUQLt0Lx2aWRmr4ror4af8l2rCaFAavY7kEb9Hr8kUOcEOGAqg/5gXvRSuTXF5vbKNKDepIissFK1KaG8DFOLvuNoS1n5lzGU4bb+T1MAxAgoVhwikirpTwYfNkSevbBBWrCI7VJN3TCG/BZvok864PKGdT7H604Hn3+VqPTMdXHbCIdSW4zMlgj4x9y3VwUtA0DTRxuHUa/SVNrLcuYhAZKbTvmt4bLN2FoXifY21J7wreYor5END3stCBAMigxH8CUDaFbxXJNqq+NlJPok= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2901.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(346002)(396003)(376002)(39860400002)(136003)(54906003)(316002)(83380400001)(53546011)(186003)(86362001)(9686003)(8936002)(7696005)(6506007)(55016002)(110136005)(122000001)(76116006)(38100700002)(71200400001)(4326008)(6636002)(45080400002)(478600001)(52536014)(66556008)(33656002)(8676002)(66476007)(64756008)(66446008)(2906002)(5660300002)(66946007)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?dBYCPzV07pglHnd66Q7q1SlBlyvxF3VtWQo1/BKbLx8dTT3jLZhcdp9Ulbs/?= =?us-ascii?Q?AXxVOoWvbqJphCL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?us-ascii?Q?QXXP6YIO4eVA71bbBC36qzJM8t/73qfYUqsRV3hYC3Sh1ueuj1H9Ws8VVSM8?= =?us-ascii?Q?NMWZIlgtlXRmiRvWy+OkNkI2vCCxUx7AOSgxUraytgE6k8h3eb80Hvp9QOjH?= =?us-ascii?Q?YNdStngDrRIuTPLqSEPiO3rdSk9NeSYtJwdiNu8CxDXV/UvgbFq2Actnnebd?= =?us-ascii?Q?kkZBJOEaKB1D07mux+JbhZ9N/htm118uvUC7HYG77/Yyn6ZVBgAXhYrkFRbv?= =?us-ascii?Q?JPZ+MPoqmQOpzO7ItH7gc1fvaoQzvUzzqddd8+DtULjHGcjP53MxAZbqvow6?= =?us-ascii?Q?kRy1YHo2mPbKbUfdb/CLqs2KGRUmxIiomoELYbCh2bC6vRF3FHSaoUerdSJL?= =?us-ascii?Q?gYAS+/Xq6g5uR2kKz3j6a1po?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2901.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb3b33ab-3aac-44fc-166a-08d90fd392da X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2021 14:39:22.5338 (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: pR2yGYC9Qc5fwydAVZm6HORNncROXJ0U/ZoZ+eweuHXS/OkqIfSbb5H9PQEl4khAEme7lsnox9mwbljMGOtdzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4243 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] ethdev: add missing buses in dev iterator X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi Thomas and Ferruh, I just back from my Labor Day Holiday. I have checked there is no usage in = ifpga bus. Thanks, Rosen > -----Original Message----- > From: Thomas Monjalon > Sent: Tuesday, May 04, 2021 23:50 > To: hemant.agrawal@nxp.com; Yigit, Ferruh > Cc: dev@dpdk.org; stable@dpdk.org; stephen@networkplumber.org; > longli@microsoft.com; Xu, Rosen > Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] ethdev: add missing buses i= n > dev iterator >=20 > 04/05/2021 14:49, Ferruh Yigit: > > On 4/29/2021 9:01 AM, Hemant Agrawal wrote: > > > > > > On 4/29/2021 1:26 PM, Thomas Monjalon wrote: > > >> 29/04/2021 07:55, Hemant Agrawal: > > >>> This patch fixes issue with OVS 2.15 not working on DPAA/FSLMC > > >>> based platform due to missing support for these busses in > > >>> dev_iterate. > > >>> This patch adds dpaa_bus and fslmc to dev iterator for bus > > >>> arguments. > > >> I think we should add VMBus as well. > > > They are 2 buses remaining vmbus and ifpga. However I don't know, if > > > they use args as vdev or as pci? > > > > cc Rosen for the 'ifpga' bus, 'vmbus' maintainer seems already cc'ed. > > > > This variable ('bus_param_key') is used to construct 'bus_str', and 'bu= s_str' > > seems used only for the '.dev_iterate' bus operation. > > > > Since 'ifpga' & 'vmbus' are not implementing the '.dev_iterate', so is > > it really required to add them? >=20 > Good point Ferruh. >=20 > The only bus implementing dev_iterate are dpaa, fslmc, pci and vdev. > So this patch makes sense. >=20 > Acked-by: Thomas Monjalon >=20