From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0075.outbound.protection.outlook.com [104.47.36.75]) by dpdk.org (Postfix) with ESMTP id EECE07CEA for ; Mon, 19 Feb 2018 10:19:53 +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=c+Lh/7sLqwsDY0UTPBtcoVIc7x7/uoeA7ZaCeA40KD0=; b=iqfa8Jvhs3U/Lt4TrJgHwdYzLmPO1CyVJYkSz1M1ysosvD0oMOke2A5t5oZo1Yroizhtz7yjQYO8EZjjCWEgMfsBJYBSu161VS8uFlRTfe3N4uu84A2b6lQrAf8gnXBxXVTMnc1n39ieaEnMt2YU59bGeLMCDtQ55T5XTKEngbY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from ltp-pvn (111.93.218.67) by MWHPR07MB3470.namprd07.prod.outlook.com (2603:10b6:301:63::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Mon, 19 Feb 2018 09:19:50 +0000 Date: Mon, 19 Feb 2018 14:49:34 +0530 From: Pavan Nikhilesh To: Jerin Jacob , santosh.shukla@caviumnetworks.com, erik.g.carrillo@intel.com Cc: dev@dpdk.org Message-ID: <20180219091933.GB4746@ltp-pvn> References: <20180216213700.3415-1-pbhagavatula@caviumnetworks.com> <20180216213700.3415-3-pbhagavatula@caviumnetworks.com> <20180217045406.GB2941@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180217045406.GB2941@jerin> User-Agent: Mutt/1.9.3 (2018-01-21) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR0101CA0068.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::30) To MWHPR07MB3470.namprd07.prod.outlook.com (2603:10b6:301:63::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9abc474c-6044-4696-1edd-08d57779eec4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:MWHPR07MB3470; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 3:4Cq8ryy44Iua0DSYOFhh3tefunbq3B904ZRkD/424p6RgKYZSI/xB8wPjbooGgn6MJ7HkdH2ytZswrz7yUC5zQupvKKpKcUMdQEUUIbJq1wfbKHANbwjmHrXkrPFAGwCxmmuphxopx0glfjPsGWCILHxPsRix2Tqx9HXt6HA7koE8QJRIrBHS78SZK40f0UymnmEo59ptdjGnoGvI7uVtLkK/h+HpUIILQATrUWwKOoXeAvqG1p8tnvaBupumEEp; 25:TnGStwEDZkF9jm9XHwAdkOvSiue9eGnxUyVRHB5RL1Ew6ghpy4Js6irQi5x4PJlzg4ZM09OrCwI32YYgP7WO5gzO3k21kmk4o5njaaqWkm2p8LHycsaAXFUc36xUQCkGskmyTIgalWDjRaY3y18KgOiJUIDiX8FrtHzaZ3Vhc3PUQG9wzlIi4YWjeC5OKwn5TAD8sW+wLYCviM0EQ8tPSv0stNrcPpQKETDdFeVlLcscqxCPNducVyL3bOCUW6iYblBQGQOC76gW3Shpt1ljDeTvsYdN1PVKWEFtZ1Jc0SFMROEC/37sNV55aKn+mmD7gdqH4p7cNKgzuPvmpOjQww==; 31:Z4KDDaLv4HXHapNpbTBvUrmSqbkSCe1AP/KxoBSR7RWwl3FSDeDN/wy4IP7PAQextsn7nYfSEmVbj2PlOzFTfKsmcCeE6BTi78DwmrpGMZnnydzmKt+Q6NEjFnCzoLldlDWDVHN97e5gR89uuWsierp3bWnz577PCZM02WgjKdJdi1Mj6mqkPeznwJx9S+txXfU8fWYT55pnbJOrFkYLgyCYwjfckY1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-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3231101)(944501161)(3002001)(93006095)(6041288)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:MWHPR07MB3470; BCL:0; PCL:0; RULEID:; SRVR:MWHPR07MB3470; X-Forefront-PRVS: 0588B2BD96 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39850400004)(396003)(346002)(39380400002)(366004)(13464003)(189003)(199004)(72206003)(52116002)(5009440100003)(76176011)(4326008)(478600001)(47776003)(33716001)(6246003)(26005)(16526019)(83506002)(386003)(25786009)(316002)(59450400001)(575784001)(66066001)(58126008)(6666003)(3846002)(97736004)(81166006)(7736002)(81156014)(305945005)(33656002)(8676002)(229853002)(53936002)(9686003)(2950100002)(55016002)(42882006)(106356001)(68736007)(6496006)(33896004)(16586007)(2906002)(50466002)(6116002)(8936002)(23726003)(5660300001)(1076002)(105586002)(18370500001)(107986001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3470; H:ltp-pvn; 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; MWHPR07MB3470; 23:4cCA4l9Z4+apdUSFNkFKU5D/VSAghZaENX4VqJrza?= =?us-ascii?Q?hDi+Lw7uPPGR6gPQdNIEvS8Oy/wKxiEwcNYLXIOHDkr3NpIu5SF8TLfs/NtF?= =?us-ascii?Q?ba+AdNAfuDDwZG2sX5UMliNZu5vHgpp2VpZHvT+RtsZgXeW8cb7EGzZsEPCR?= =?us-ascii?Q?HRgJ+bK88k1hhCjsqZbiFCzlLEVXRlwvJyqaOwhk9BNPbDV5eYuD5qlLzgLr?= =?us-ascii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RnSR5ATDsuDEgRtILbOh8wwixclTqlW9+IiPuoSG/8YXti/X2s1YdlYnrQxN+eNMEWw58GU1hbg31mZ4l2V7He0aOhrrIrUXcYltbdyp+LM8Tj9/fzYy1upFKdSnOcd+6DkfU6bV2rKAWq6ZPT+lhEgw18Rl3obinkfRrTC20pFTgX0RR1utoWtoU+OYK9CEb49Ts4rI+Mq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2018 09:19:50.6652 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9abc474c-6044-4696-1edd-08d57779eec4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3470 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: Mon, 19 Feb 2018 09:19:54 -0000 On Sat, Feb 17, 2018 at 10:24:07AM +0530, Jerin Jacob wrote: > -----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] Agreed, will do the specified changes and send it as a sperate patch. Thanks, Pavan.