From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0071.outbound.protection.outlook.com [104.47.42.71]) by dpdk.org (Postfix) with ESMTP id C3FD429D6 for ; Mon, 21 Nov 2016 21:18:45 +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=Ra1B0Z9pMurXByEW4/LWaXSefm5X6S10fDsisaej11w=; b=mvJezcPVlYCXQGwLhrfcwQkuONw4PX3rND6oDIjqqiJR+qI76IqzJX+EqVOL213m2ojzrS+ZpUB/4Xl4hQ+ZgTtD4u/ikPfBYSuzjtF2UVJ3AjKy5QuAGslegNsUQjFNd7sG+nH6ewxox4pBen2zIRupzj4TRHSqkB8EkpmyM7Y= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from svelivela-lt.caveonetworks.com (50.233.148.156) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6; Mon, 21 Nov 2016 20:18:41 +0000 Date: Tue, 22 Nov 2016 01:48:37 +0530 From: Jerin Jacob To: Bruce Richardson CC: Harry van Haaren , Message-ID: <20161121201837.GA12762@svelivela-lt.caveonetworks.com> References: <1479319207-130646-1-git-send-email-harry.van.haaren@intel.com> <20161116201924.GA32292@svelivela-lt.caveonetworks.com> <20161117100507.GA67928@bricha3-MOBL3.ger.corp.intel.com> <20161118222325.GA13345@localhost.localdomain> <20161121094856.GA16124@bricha3-MOBL3.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20161121094856.GA16124@bricha3-MOBL3.ger.corp.intel.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: BY1PR0501CA0027.namprd05.prod.outlook.com (10.162.139.37) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 2:EfmuNGXfIB4d8G0Ft6jjKOu8DuImhTWlVnsUVUWYA1w5Apn7ZtFzBuQsOTJvwSQqziph20/bV3xYspdg9Hej8hstHv0dm5p8Jlgzy6qtXHzEph7SddRQC9DNQD4YvjfS1AqI8nbRjP9FLJ7G61lm0kS73WiG7MdeNvN7KZQXePQ=; 3:2g8bsHGmLKNR3Y9E5A5+p7za/T+uNofEVvLrknwpflVHygzaWPLlki/Gj4pFsxvXqYnMZewDAnzi0G1NanliGgM4viKHJheqKOShFR9yDfyLjvtkMXCyN5rF7AVVZbh46FPGG2X4okXZ1mscYL+rtJu4fvfWUy3XD1x47O3BO8U=; 25:XvqBTkDzxGzv7cVMX3FjirS79G75v75ehlk0h2U9m+waoFlOXhNcNV9yyTa3dQoXNfN5TD3mUg6V2KDlInGb6DDpAOg1J4PA+dBqlOc8JUvlzkLK0aohJXsmOToKUKWnQFEGTga3pEkxkyadAN4HlvbFJdTfvW6ioyhXNSuCbBrwzza7ylSeA7/GEIao5Su9DPU7dd1dFEiPG6+NI14gRAiIjxZj+7gzGbSXknj067klzuX591i4CKNP3AKcpueyqnGXv2+vmxwq92Qp6GgG1NiuAY0p5smEYEEb1h3JFqjlPrwZmsDUrvX6DjiTHMbHwQrrpl6wj1sc/pprhMIulY9mjZCWuUjyLx8s4ffSkE0n9gmGJpDYkX+/qWAdpdQVhNLidxeloFi3YdnZ9RGatejgY+UuAuRt+NCvDXUfP819bzKalqQe4fH+KUpjEx5UQFzyFaA0ngn4odU8ZEkTEA== X-MS-Office365-Filtering-Correlation-Id: 225d3486-adef-4983-c29c-08d4124b960a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 31:+BCTfLRol8bOYeKcxVboi3i1Ejjpd7Cvfdu2W1Lh9TlSTGD54uAcr4hfjyk+PZ9067N8cm0sRnznh/vboL+ZGf+/U52ARhHAMnBb2gV6TLYHZNVZtZ3T0Nkt7O+/N/re4w7byvYB1EvKyB1Z2hlHfnmOkZykmXgAiJdPWu1aqI4EKHxYAjoG5NM8lE5Gf61s90+49X0TTgDgxAL5nqRTsaiwVSkoNblS7Pj/MD4l4D9PlzzxF8aRjo3yVPuSWzET9TAu6IwKfhSA470ddgL9zZmas5VrM2uDN9c7MqnVjD0=; 20:o9/clo/ydW+t2oq+OI84qkjAFfju7ZSrbZMw9DHLiaygNxIA2qlbiJ1CPCXZ/tNOI2ZMU1w13aqjlgS2vVDU7icurLOgXY01a0IU8Z2Xu0nplKHOx5IsozQAK0o6Qpe7xoICbyj7QlGMNEHb+5Pylk9WmW6+ekV3rVPNhLOX5RzaX0uc5Kr1EiOizaswKmVPASZfTzvCi/526qUvSdKPistAUq9+rDBTdJb21W3b/q4JzIhQg1bQQWlguqeaTWDa4mp9jOGLqDE9O2xiVVDmTz0UUB3RyUY5IHXxnxVRn57CEhaDTVgiez7BlX44OCvQOcC1DWFTw+U/p0+zIjnD9b7E89t/7mKInykecGzc1OeJY8qDwCTIniCrtr2LcIpesLyIfiAmzMPycSuIA0TqeJMnSSpN5jb+LEdaPyOSpINmRU21n3A6LZbPEpmykbx0wI18ahx68uVCTBtphRoXP+Un42gnZFuCZvAjHhxdRxbPkcOPaY28xDzH/kjAW3ueC3pqwrnuLtoGAlGQzvQ4P6JzT23iJJiSg3mM1VSidIJEqUulbBPvpaZS8a8dGhIpQ6Sw+mz7CyMGFyi0c2tf3I5xVLelf+4zio64hX076DY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040307)(6060326)(6045199)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6061324)(6041248)(6042181); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 4:ButXVLQPea3FO929XkTvOE6a0AbGyYxjoyA4g7XKt79nVHtnaB9l3oSzhT8vxSc/o6gDSgd19rZKO1d1cnuJOmQB6RFvRAtzWCqaCizqXf/uFq8C/tgTUkBLYEAlKheKx6RgVV1uGojr0sP/jVDPzOQdK+E5NRNwmvieGkRYLD8OhXVdp3Xkt5FlxBe8YTuAJWVLN9swThkxa14sZHyX1Kt48ExplduD8KBvGoFFiqxT8KSdrww9jwB10frpcFo+KmfCKanf3EGYuVHN3fHp98un7NFH70qn1oxaAvww4KqJfDM+eXdFnNGSmcUMaH4y8vFRmnY4uSYq45/hkDFAJapstkNerCvR/zMKTzVO+N+1lUrCGIJn7fpyN6XcOfuMWwARC7LR7TyatpfjN00OwUMjIGfSsrGWnx/6gQE495tS+/vtT2G0+oB6aVgqhsKNscvkcLvDymywPKqTHJ1TA4T015Xofs5CiPcFj7gSivkz1eKkV6cHAs5sGkJNYq5J X-Forefront-PRVS: 01334458E5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(189002)(24454002)(199003)(6116002)(97756001)(1076002)(42186005)(106356001)(77096005)(23726003)(50986999)(2906002)(110136003)(4326007)(4001350100001)(38730400001)(92566002)(7736002)(33656002)(7846002)(68736007)(6916009)(47776003)(5660300001)(76176999)(2950100002)(53416004)(97736004)(105586002)(8676002)(101416001)(54356999)(6666003)(9686002)(81156014)(561944003)(189998001)(229853002)(50466002)(46406003)(305945005)(93886004)(3846002)(42882006)(69596002)(66066001)(83506001)(81166006)(18370500001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:svelivela-lt.caveonetworks.com; 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; BLUPR0701MB1714; 23:z8ydXiEIvAWH2O+00kv2rlxJxRPlxu248jZ8jXe?= =?us-ascii?Q?lq9NRZFKRV5GzbAoRxtUmQAUbq0EG6I8Cp0gg1OlO0BlHIwPnIfPKHzAQ/Tk?= =?us-ascii?Q?7tRUif6guz2UxCslMuCxbfg5j3bqdthBUUqH9ZqKQPCkyGLjz0pXYrITbyhi?= =?us-ascii?Q?oxgQCDcoQK0wrQr3EAt3nIwxSG1w21HPrJIzgjBvVMXGzRut0+ur/Q32gtWh?= =?us-ascii?Q?TpNU4n7+SCorMA4vp7EGVsgpRnIicujToi6Na8XKlWUDwrVHSsCOIiB7I2iw?= =?us-ascii?Q?O4Otoe/FT0bN+s7d5007FMi58aZ8akK3OZvD8s7uj21WXzYswM3a7jNXUjYj?= =?us-ascii?Q?Hz6VMlnecexspb8sK0Byoy/rQaCfZjknZyoj1u6/1bhZ9KYz9DCzOGcAs9RA?= =?us-ascii?Q?+W3FsEm9aKdaBitoAJ806cPbrI4u1I769XI1/7uxcQ4ew+rRHddX97RFkqiE?= =?us-ascii?Q?U7DuGNNfg/aE6ITOBxRWd1WeFqHJBZGivJUL+OKDPpvv0dufrgdvj59Wdn8G?= =?us-ascii?Q?lkH3fcb6Yd46TTfp1Unl/jydSuw0wMMBy/FIqGMe9C1v4hkHvPUtnaoBbIUk?= =?us-ascii?Q?SFt/U7IgcT8g9Og8FUbtqrWckikR4NMKFDKzTO481mJx8jQHBKZxVHONwy7z?= =?us-ascii?Q?MhfuFE730CXnodYAoUiDIVepk2qjVYaY79JpoyhV/mGYiRxIxRApZm16ee54?= =?us-ascii?Q?sJXJkByFkm+0tSRfmf6DGVsaSsJ+yW6LZL43mSz8lMgcIuoUnIxzJZ/ODgGq?= =?us-ascii?Q?tpk+EdbCg2lvA2/a5bckIakPHjEeObVCsunNHIuhYyOQHxdW4hhHmN/CVrEU?= =?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Fb34lgOqfkNelWfGHNllUWzn2dYL0CoBGGUqjsDyHi2aSadqac4g9CKPL+akUu84vWcV+B+uEo4I1CqZgVZ+zZaM3mzFSn/VjN/dSSrkxhu8GQ==; 24:1VOMusTdxmNmiUwTL7LVjjB2e4W1/pko02vlVcCJ595ZKU01W/1A+kM/sSdoY0v4OwGqoHiDT2xy2XNhEIt+jYFmAIJXZLtPp4Pj80LrNWA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:kMlEPZkuR9/KQzzLpioeZkeRy4C/pJZsz50B5D14Hwfts44Bz18DhFDLPSgMj7V17jBatR4tCV+orLc400VlHEj/HtfrVe3G56lD1+ZJV5BAuVN57Zr/ZePD76ydVOGQVabuGlDybNoKB99/HrszmyH1+Th7gIYabM/GS7SgxsUtBjXQgvBcvVPiNw2PyyKhCCoS/EKG+hP1ILbwqS0O8hzh4O32A30qZK35DeXFuXQVWGM6VsdioI+njo7E2J4BjiqiLQPdNwb8H6F7I/W5AVY6KoPlAJNiSY35F7+BVDwZtQ45IWim2kihZCc6Q08moTLLBMyRWkKkqwI6H9kgRwXdv4OtaJSSxKI7vjVBSjs= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Nov 2016 20:18:41.1483 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: Re: [dpdk-dev] [RFC PATCH 0/7] RFC: EventDev Software PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2016 20:18:46 -0000 On Mon, Nov 21, 2016 at 09:48:56AM +0000, Bruce Richardson wrote: > On Sat, Nov 19, 2016 at 03:53:25AM +0530, Jerin Jacob wrote: > > On Thu, Nov 17, 2016 at 10:05:07AM +0000, Bruce Richardson wrote: > > > > 2) device stats API can be based on capability, HW implementations may not > > > > support all the stats > > > > > > Yes, this is something we were thinking about. It would be nice if we > > > could at least come up with a common set of stats - maybe even ones > > > tracked at an eventdev API level, e.g. nb enqueues/dequeues. As well as > > > that, we think the idea of an xstats API, like in ethdev, might work > > > well. For our software implementation, having visibility into the > > > scheduler behaviour can be important, so we'd like a way to report out > > > things like internal queue depths etc. > > > > > > > Since these are not very generic hardware, I am not sure how much sense > > to have generic stats API. But, Something similar to ethdev's xstat(any capability based) > > the scheme works well. Look forward to seeing API proposal with common code. > > > > Jerin > > > Well, to start off with, some stats that could be tracked at the API > level could be common. What about counts of number of enqueues and > dequeues? > > I suppose the other way we can look at this is: once we get a few > implementations of the interface, we can look at the provided xstats > values from each one, and see if there is anything common between them. That makes more sense to me as we don't have proposed counts. I think, Then we should not use stats for functional tests as proposed. We could verify the functional test by embedding some value in event object on enqueue and later check the same on dequeue kind of scheme. Jerin > > /Bruce