From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0084.outbound.protection.outlook.com [104.47.32.84]) by dpdk.org (Postfix) with ESMTP id 883B516E for ; Mon, 11 Sep 2017 19:53:06 +0200 (CEST) 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=4KLlvh7XyCaUqZmriHST2TGGTLk3+YKIEvaljAVJD6M=; b=Nse/ZTLAl4BPbnENWuFnyM8q7PeapbgfywUUJH0UPJ1jlbBIsBWNhsFug0Kyk74cM0W8GsX51Uq2A7coIkwdPJTyHAiHXXBZ4IeaHE4TPwx9yQN0Q7zWJKo/Y/B/98/lDhT6bUI4JSX/IKuM/RjsNB3FxxTwmER2NOh1uACwDUM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.201.102.0) by BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10; Mon, 11 Sep 2017 17:53:00 +0000 Date: Mon, 11 Sep 2017 23:22:43 +0530 From: Jerin Jacob To: Harry van Haaren Cc: dev@dpdk.org Message-ID: <20170911175242.GB26002@jerin> References: <1504883894-43451-1-git-send-email-harry.van.haaren@intel.com> <1504885015-44642-1-git-send-email-harry.van.haaren@intel.com> <1504885015-44642-5-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1504885015-44642-5-git-send-email-harry.van.haaren@intel.com> User-Agent: Mutt/1.9.0 (2017-09-02) X-Originating-IP: [106.201.102.0] X-ClientProxiedBy: BMXPR01CA0008.INDPRD01.PROD.OUTLOOK.COM (10.174.214.146) To BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 85d24cdf-484f-445b-3a2f-08d4f93df22b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:xKdTVVXC3hi1n8FO6h9Eios1rWRBsPyib+51FOrnAxAjr8eog+UD9Fvp6QQXDOCmFaMXCViBahu8Tih0+pNodO7JiwnovQCirIxC8NSIdC52KbK+AohMSdTbNjumJ4WSfw+lVHitgIARD4eROQQ/2gB8v7NKMbrGMUgLyFG5e2C+G4sUveSuDNAWo8Gz7bnSiJbHNqNIP03O+keqV9OLcP/XB+Zepo/gfIEfET7aoCVC3lHNt2Ow+AVIseAz4Ypc; 25:pAPZvcMpYO6vbUk2YdTxtm/vwmPbNC5WVCyrWnx8AjGTAyOD/gKADblrBvpDhY3J4Z/hCwNGkYBWsoHxrGziJlmUGwHra7rUWuDXFNcby97xmEm40gOKO4CvO1RcJM0L+AZkaZCVF8giKYH+TDSG+Jp2/J31iIiKX9ry1rE7jXpcGPZA8PY5gFMoR/WQNbC3wm9OoSjI0k7lnhqcCPt4pPecMiPagz3R/Qog1phn7m8cGrYvXKgs3a8vKn7Eezxe6Mn1KI691YKLbT/X+eI7+gaoda6jXpTRS0+uxmhc1PaRGqJtwyB+E83N5sRsonNspJzc2fwNPrNqHT0fyyLMSg==; 31:MqfqRfqrhUhTKXDj+78jyE/RqHzalqcyaHc9k6QTORktk1UaDh9ItX4OqbCTNxyJ3qFk2JGmIExXH/lQU4u3Fypw/wX4T8DOEeN1UUwmsRykCr9OtdVJa3Ed0WFz/VJsb2OR4POi/N5jk/ZBjDg0gYsEkZAcZZaZNJykivO2eD87q/SDMJ55fgiq8gvsRxcDL1D8uhLnMvlBabcM2HY6RHuyCfofMJGFjE3d4UpXV+0= X-MS-TrafficTypeDiagnostic: BN3PR07MB2513: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 20:D7cpoqtNtEkkzUaPtVP4/1lTdHtpAGkGm1dGjYlPmSb9y8RxVRc8FG8xXoNJo/CN1bO54FagkPHmE38vGZ+g7vgi4Tg+gg71FCylKXnZ8EJFfJ6rfvaFuvlYShf3Gxwicowm85wsjbuQlBWF/a57v2OUSukrxKVFWdPCZ5gGkWkhlFSGBSz9BiLxd6qrHEnyly1QMIS0WjSkKFavZoH4MQw8Qxwh5J7YNahqjWMEreyBgP3/hRcBddUU1e8EJw608gjmcdHiEy+a4+HAI6A7+2uZyw+0LE2wRuumGTMTpC2ui14yKWI0ppKWumbzJ6/vUPLuy7OjjG+YgBzUrpURm6/6JcFMyn657ZAfZOFTHZPyDfjGJYPt0twnrWpc2I11JAw1CLAYtAYoj6WtIJj2b36yoQxpMw3jO2xPVXON0EQYFe7IS2D3JnoGSZ9noeiGSPMJtYq6w+X54pM00c4ttz7YPhjwQwNN6BXlPoBb9CLFKcqZsAgyOjKoH8aZ3nEuRDVFytZS21hX/J97EZhglY14JUV4z3mrsI9rgzU76nqp9pA440jFGc8p0mm90M2oc9WxogUEXSBu5gf0o/4wHt30SUj0pSdx+QXg5fDo5A8= X-Exchange-Antispam-Report-Test: UriScan:(278428928389397)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 4:XZ3wGiRpbTHFd3SECkGJUp8BdWnD1FmWlfNkFJKuMxa1OPNnY4zWkcf7PbLuu0WVY2c1lUOYfiyuvWk1cOPX34a+v0lUez5dWGsI9k0goUUyDMonNjmLU+thU0o55k4s9fzANqdLahM7/HNV5GZYemszqLDi1wdWki/jtJCRqp0ejKTxfW098Hn3XifN1hAHoMFy9TsKD0yAvDszhYQUpvC3fOBuBYYLfd3TK0ztarDPcTwA7Y1qOTxdcaJV6nLskRJzs4K2syrwkaq3ufH/WalbiEGVPqI0ktHuOI7qB3hFZ3Z39TYFzRUU6KuejYfrievBLTD64d6ybGZ0smDvKA== X-Forefront-PRVS: 04270EF89C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(199003)(189002)(13464003)(229853002)(2950100002)(110136004)(8936002)(4326008)(305945005)(106356001)(42882006)(6666003)(6916009)(6116002)(6246003)(83506001)(8676002)(23726003)(5009440100003)(7736002)(72206003)(81166006)(81156014)(97736004)(2906002)(42186005)(6496005)(1076002)(25786009)(54356999)(53936002)(105586002)(55016002)(9686003)(4001350100001)(101416001)(3846002)(66066001)(33656002)(50466002)(5660300001)(68736007)(47776003)(33716001)(76176999)(50986999)(189998001)(478600001)(18370500001)(7756004); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; BN3PR07MB2513; 23:IFn+qPCi23cV0YSJz11lIw3LcQiWPqqvPb5J7844J?= =?us-ascii?Q?fBw5OgEN5Gb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wTk82O4Rv/CDZ4yc3pakGH6FCaXMquFzCmteqQNafk7O7Tmiv6aGiqbYP8cMDAceM7pojoVBZodzroSdyFhp8PLLkEob3Ix19jY5fK5d2jFWP/DerVVI136Tex9kDg9kmPplvpZnBox88QYTHtjHAuxXrjDA1i3qYXGYtDi1Ux7+pAv5zhPuZzK+AeSA/Wkow8Pn8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2017 17:53:00.5916 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 Subject: Re: [dpdk-dev] [PATCH v3 4/4] eventdev: add device started attribute 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, 11 Sep 2017 17:53:08 -0000 -----Original Message----- > Date: Fri, 8 Sep 2017 16:36:55 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: jerin.jacob@caviumnetworks.com, Harry van Haaren > > Subject: [PATCH v3 4/4] eventdev: add device started attribute > X-Mailer: git-send-email 2.7.4 > > This commit adds an attribute to the eventdev, allowing applications > to retrieve if the eventdev is running or stopped. Note that no API > or ABI changes were required in adding the statistic, and code changes > are minimal. > > Signed-off-by: Harry van Haaren > --- > lib/librte_eventdev/rte_eventdev.c | 3 +++ > lib/librte_eventdev/rte_eventdev.h | 4 ++++ > 2 files changed, 7 insertions(+) > > diff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c > index 3756ec7..87a1e19 100644 > --- a/lib/librte_eventdev/rte_eventdev.c > +++ b/lib/librte_eventdev/rte_eventdev.c > @@ -740,6 +740,9 @@ rte_event_dev_attr_get(uint8_t dev_id, uint32_t attr_id, I think, the new rte_event_dev_attr_get function, we can move up so that all device specific functions comes back to back in API documentation. Check the output of "make doc-api-html" Other than that, it looks good. Acked-by: Jerin Jacob