From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0063.outbound.protection.outlook.com [104.47.38.63]) by dpdk.org (Postfix) with ESMTP id 46A4D1B1D5 for ; Sat, 17 Feb 2018 05:54:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dmSSQ1B8owL6NdMU8J16SBpH6LT9W6cMNPtRvle/VAo=; b=G314jptYiHP3AVvEcymPoAiEnn9IRQNn0nkDqHINvwRwoTvqlIQ4FZ6m0+yw2edyw3xQWXAD6Llx8WhsyO9lf0qO9a873d4cQ8dlfEiJAvqxptrXXardzvSnzgXQJiXqcbkiVByttuPKQLR2dozdnt5ykv1DQVuFzpAyjMUnFFQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (171.76.101.225) by CY1PR07MB2522.namprd07.prod.outlook.com (10.167.16.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Sat, 17 Feb 2018 04:54:25 +0000 Date: Sat, 17 Feb 2018 10:24:07 +0530 From: Jerin Jacob To: Pavan Nikhilesh Cc: santosh.shukla@caviumnetworks.com, erik.g.carrillo@intel.com, dev@dpdk.org Message-ID: <20180217045406.GB2941@jerin> References: <20180216213700.3415-1-pbhagavatula@caviumnetworks.com> <20180216213700.3415-3-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180216213700.3415-3-pbhagavatula@caviumnetworks.com> User-Agent: Mutt/1.9.3 (2018-01-21) X-Originating-IP: [171.76.101.225] X-ClientProxiedBy: BM1PR0101CA0010.INDPRD01.PROD.OUTLOOK.COM (10.174.220.20) To CY1PR07MB2522.namprd07.prod.outlook.com (10.167.16.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 35fb81a8-5ee7-4134-ba7e-08d575c285ec X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:CY1PR07MB2522; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2522; 3:rpnzpL/3DcFhlVzqh1DhG66tJ/mvgGBG2XIidHOSBNXuz7relWPlYuQLwoA8Wf2NtPxL4wN5ALRaw6Y3+iC6iTyuFMVRpNNNwTjGBIR5VcCW9WdemcBOopCHrmSIFMDlNgrJXqkjR45LyMfRYiP+jjppGmFf19XK2h899ERXu+UROJk7WWWD+WBFeNmbOanDQu5pDEEowTPXZ3lzGhNZuxHVAynXqFWYY1MeXavEQNVEapjWTcbSS2H+0SwAHBTB; 25:ghInTAGZIdlieyRtu2E/QWKIjq+CX2oY2xc0b4DD065dA2UECMLucoCqUxxfEZ+og6h3YOls++DCMpyqKoQrvmbSD0ZAE/CqOSwUDqb1XRAWJr0smUz5NcQ62bUofOwuFgphl9AoUTYZcvaMVuA1KtFfdC8o7VvsBd3M2Id4aku0aLgABEH3FVHXFjChg6mF18e+UFpqyXp628enT/1Ym0RgsJNirtrt0r5fDvP/5v9dG2kFi8LvMuv2Ll4pWgBKwkfr16QyRJzm9w+EuhkkJlUM7Ti1oCFKDnnTJpoXukfjTYiZ4+2FpWCLftxQDjp27Q1z/33oJ/+msSqahjxmtQ==; 31:HuSb7454hXjA9htlk7H9W9favmhVhsVSqPnhl6cESY7+2sGv+F2P2w6LGSAEhe8ySuPTquWZCX3hi7mXxBKOH4+eJsXQ1dn+EDnWYK7MQpgelJhR03Y+xrT0Rsy4kHQx/wk9noS0EtUotv8DqbA5Brge9JwN71m8SOJsWKTnthxgCghDDEdw0dvHSeizLZcc5aZhFzJPQLEbcJDbkBUfvh3xSDXuqYc2ND4rCNuruFs= X-MS-TrafficTypeDiagnostic: CY1PR07MB2522: X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2522; 20:Tl/lpOzJ9MDU8IPU4tkxKngAf+HTeipAGSES6xcrqUerEM0WUlRnCgH2dpqeyoNayKup6i2Sc7NW+wU6SVeL30kw+oUgY3GwKQjBWaw463t80zzMEpwUmMovijnbBtNiWjcqN6ZWt9gUz5mLIQbpyJHAbgXG7/C4McYymDWyEAYkRJgoCYLxAnAoAkeTQXKNc0ToA+5NdvvGYfqtuJ1KrNd2cfz0+05/PHFLu1ymhGLMO7HXTgIK+GpJV04mkLC0p4ZmXR8aFkbYfY2VUZkQIll9Rit19avW7ir6RCyZszTceE8fooppDW4e7RmVb9AM6iwmmxmsILDZSWPavRF5lx4s1QPxvJvOvF2TzV2UTD8oXPCQoIdzMkOtvQBQv4mYaEmYCqWuX6MmiqiDoQ7snv934xWYJ35pHq29RtnUYvtXzWJSrusOBaNIIgzEcoVwgPY3gzDMOyXeMwCiGjYTwl3lKTyf2zJAMv+JNMQmsLhSs+CiQHm2xZ0DL9mrBrN+UEHOWincbeeFJWM/TcBFvGj9PWLej26gTEwxzU1dNBjM9TTF4J+VOVlTvV0/39s/h5a/VRsCb7+qz5iyCyECZxr/7FWfxcqkfVBfDEVgS+4=; 4:C3Y3EqPwnjuZk79OJ2mLgdVwN9ZWIDoUwJFCijJr61NBANTahypjrqiPWuSEafyQSmo5lVsi/KAqqq6FyVTE0SztSxKaVk1IM18YqzwThyQs8JbxTiTQVnxkAnTGinVbOFBOvuE9JPBm5mVP5Ote1vucC9HhELj7ZWteUB7ZZwZ0PSzXwMJZ5DlktSXMHrJrUhb/m1DedyoHEBA3KdGQveYz1VrmLzjc+Ppe5poXYyq5gTVWso0AFHAUd1NZmgOC8oAlZ1CJWPMkKpAOnmGz0Z5tnIV6NDGoJGhQZ8RqqJ/U5Lvifqv0Pl5akHEpr0iV X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(93006095)(10201501046)(3231101)(944501161)(6041288)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:CY1PR07MB2522; BCL:0; PCL:0; RULEID:; SRVR:CY1PR07MB2522; X-Forefront-PRVS: 058637CA05 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(366004)(346002)(396003)(39850400004)(376002)(13464003)(189003)(199004)(1076002)(97736004)(5660300001)(68736007)(33716001)(105586002)(47776003)(50466002)(575784001)(478600001)(72206003)(52116002)(6496006)(8676002)(81166006)(81156014)(8936002)(2906002)(58126008)(316002)(16586007)(83506002)(33896004)(76176011)(16526019)(33656002)(386003)(59450400001)(26005)(2950100002)(6666003)(6636002)(42882006)(229853002)(3846002)(23726003)(305945005)(7736002)(6116002)(106356001)(9686003)(66066001)(6246003)(53936002)(55016002)(4326008)(25786009)(6862004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2522; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR07MB2522; 23:DRxtQHexo22hDmQL6sZcmQop+7UjU0tAkciDYwWSe?= =?us-ascii?Q?/0JzDUa1aCDegCFd9G72lUA98dJpJCBOr4KrKmZhiczDHYRyxCZzUfhOWqXB?= =?us-ascii?Q?HKK7CUmdXRGsOhpheT3miOVtY0b12rb0weuD/RHklaZB+IlPDIPpUzGtJwXR?= =?us-ascii?Q?u6HJBxUneSlyPqRmXaI7mwPDk6yA3zwl6MZkbQkpUJMMWKi9+OuDtCVaglD0?= =?us-ascii?Q?7HeNEkBU6q8C63ONi7YZL+cLtlk1neNeR1sfejnGQVUtkKjZmZ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4+QVpygu+TUhGWUXFNS8rAIVi0t+LZ+bjKWQJ71d66QZfH6QaZoaKjt7t26RKqvpHlGa4yjoCFGB0B02faSWj9oGvO8Hky3RLGsiOsjzNR959pxHPAbNfZwx SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2018 04:54:25.5188 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 35fb81a8-5ee7-4134-ba7e-08d575c285ec X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2522 Subject: Re: [dpdk-dev] [PATCH 02/10] mempool/octeontx: probe timvf PCIe devices X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2018 04:54:30 -0000 -----Original Message----- > Date: Sat, 17 Feb 2018 03:06:52 +0530 > From: Pavan Nikhilesh > To: jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, > erik.g.carrillo@intel.com > Cc: dev@dpdk.org, Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH 02/10] mempool/octeontx: probe timvf PCIe devices > X-Mailer: git-send-email 2.16.1 > > On Octeontx HW, each event timer device is enumerated as separate SRIOV VF > PCIe device. > > In order to expose as a event timer device: > On PCIe probe, the driver stores the information associated with the > PCIe device and later when appliacation requests for a event timer device > through `rte_event_timer_adapter_create` the driver infrastructure creates > the timer adapter with earlier probed PCIe VF devices. > > Signed-off-by: Pavan Nikhilesh > --- > drivers/mempool/octeontx/Makefile | 1 + > drivers/mempool/octeontx/meson.build | 1 + > drivers/mempool/octeontx/octeontx_mbox.h | 7 + > drivers/mempool/octeontx/octeontx_timvf.c | 145 +++++++++++++++++++++ > .../octeontx/rte_mempool_octeontx_version.map | 3 + > usertools/dpdk-devbind.py | 8 ++ I suggest to have separate patch for usertools/dpdk-devbind.py common code change. > diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py > index 18d938607..340643b70 100755 > --- a/usertools/dpdk-devbind.py > +++ b/usertools/dpdk-devbind.py > @@ -22,11 +22,14 @@ > 'SVendor': None, 'SDevice': None} > cavium_pkx = {'Class': '08', 'Vendor': '177d', 'Device': 'a0dd,a049', > 'SVendor': None, 'SDevice': None} > +cavium_tim = {'Class': '08', 'Vendor': '177d', 'Device': 'a051', > + 'SVendor': None, 'SDevice': None} > > network_devices = [network_class, cavium_pkx] > crypto_devices = [encryption_class, intel_processor_class] > eventdev_devices = [cavium_sso] > mempool_devices = [cavium_fpa] > +eventtimer_devices = [cavium_tim] In order to reduce number of different type of device, IMO, we could group this also as "eventdev_devices" as it comes as sub device of eventdev. ie. eventdev_devices = [cavium_sso, cavium_tim]