From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0046.outbound.protection.outlook.com [104.47.32.46]) by dpdk.org (Postfix) with ESMTP id 5D5079E3 for ; Mon, 26 Jun 2017 15:47:13 +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=xHZm/2H5zCMxWkw6pC4p0P4s0x2HzOvfHCU6AswfnIk=; b=nJkiYrdXPz4H5QFSrBnEX/Cxae6CQdp4PJE8ffQMgCjcHRXgHbUXt6Im/wo7BmrYt2kNOEtV/3FQZq+BAPFkVCqnIAb2q0xECTv1+NkILhPxy6vjs0yu2mfXP29Tz2mac5J785dW0XqV/OS3qI2H3krohBZP4c1TjosgqrZirIk= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (106.201.123.212) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Mon, 26 Jun 2017 13:47:09 +0000 Date: Mon, 26 Jun 2017 19:16:55 +0530 From: Jerin Jacob To: Harry van Haaren Cc: dev@dpdk.org, thomas@monjalon.net, keith.wiles@intel.com, bruce.richardson@intel.com Message-ID: <20170626134654.GA14871@jerin> References: <1498208779-166205-1-git-send-email-harry.van.haaren@intel.com> <1498208779-166205-6-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: <1498208779-166205-6-git-send-email-harry.van.haaren@intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [106.201.123.212] X-ClientProxiedBy: MA1PR01CA0075.INDPRD01.PROD.OUTLOOK.COM (10.174.56.15) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 50567738-93d0-48c1-c534-08d4bc99d8bd X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:BvZ8jugeIPg3R/OyX/SluVoi+u6/LsroehcvByFDM84gxxBY4qKfwvjqrIm94R6JP/Fq7Zn//vduxhjuyKeI8EO9bcoqVUhx0ZIt0mKKQObYZSL+sAmroBntiTST3LVxNx2QmdzQW1t++ziIbpDCN5acnOhdiAJ6IFPqrqBVbMruA/iE6HUZLLhAuKu5xq2xX32nnyBW6/6b+gg4LkN8MEB7rD5f5lEihcIMMfSThWtjkETEAHfyLzEloLHZaRlCBjqzohALiSfm4qCMdMOBhxmSPUgM5bkt3zA3lYQvW9C8FQIH/dassLQhoajtBZzEPJBuOvAT/t8jL+9qmvyJeVlfP7bKMPN2+JIvBg9kejOT4U2NnI80yP8wH7ZNLYXfm5QVax+Dv4boS0/JKX6+L6SS9rTvLMEwFT8CjYkUU6Q8I+o60B2UH5aQ3rXnHE2GJJLqZX2PsDW7F4KtISvgQ2Z7pMCoJ12lDgrN8cxMm1FXkJKoc/HkrbR671SaLvAquOKa4sH0BbBgYO+MONizNN3omaF/r3HV9G1QJV65X1/oP2lE1eT3sB64lB64QnGXDvCuAa4D455KkilRd2FGjtbXKz6SoZfl/RZ7FrvqOKopQYdM9SAOzgw4p5VgXUS4XRg7ippGVtp9J3cvF2+gc83DZ4QrxQU4IFi3v2MUm5HJogBwVw4KTVH1GA+82bN5 X-MS-TrafficTypeDiagnostic: BLUPR0701MB1714: X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714;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Mn17q5HP4JMGlJ0gFq+UGIc5KvHrsyN+28iaPpWZttjZ4nN0qeslu39KMvVRFLhxcFvKB7fN/xAzmtV0SB86i9Uah1ZiVB0XMcu6uX7ahitdS6ns3Lk0tTRTK4xTAfkMEHWUyZbG7+jpuma1pmvWB5eCIZL8PRoqrbftW5ezhDDCZ8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3002001)(100000703101)(100105400095)(6041248)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 4:joX942Sp0ES+/6mOBdJv7Pk9O7OXaxw5ik+Y9Ges?= =?us-ascii?Q?6wy451nEfW7FaZay/KWMVXgygb6mBRlyhPxQrlIufqHUMREmLwCoG5xWNwA8?= =?us-ascii?Q?q0wtWru1rTq3YWJuLB65cJ9UhiqmMJpDknewn2dwu4IjuhYJ+AeZfBcgcF7G?= =?us-ascii?Q?jAk9SKZk7QabydLmf16uVERsmYWSPUO29F8pFhpPGdw2orcOCfqCYTKeiM5W?= =?us-ascii?Q?LtNgmsfvTcYM+EUweB3L1ch23hzI9Zfo0kQFqKsCptcO1hq/whwFsp3XqlBm?= =?us-ascii?Q?Ewobd9fUpAZrYqCr7HwYmtlV0amm8jnK3p3uiyFaGjEGK7bCxJlslwPsydIB?= =?us-ascii?Q?2DIJ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Forefront-PRVS: 0350D7A55D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39840400002)(39450400003)(39410400002)(13464003)(50986999)(76176999)(54356999)(6116002)(478600001)(50466002)(72206003)(66066001)(2906002)(25786009)(5009440100003)(33716001)(47776003)(1076002)(42186005)(33656002)(3846002)(23726003)(189998001)(55016002)(6246003)(4001350100001)(83506001)(9686003)(53936002)(6916009)(42882006)(6666003)(7736002)(8676002)(38730400002)(6496005)(110136004)(229853002)(5660300001)(4326008)(305945005)(2950100002)(81166006)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:ITvuQy74sABdeLqBz3Ql50P/ZtDakXhAGNoD1uG?= =?us-ascii?Q?zZiNKKjKUy4YvN8cAlq8JQiVCRKyV/AKYL4EFb2CbzmOPJNnvPS/Wa6kEa4N?= =?us-ascii?Q?Th5iYjMBR8XuVyQWrMYlRwz5y7ROrRvxwv20LjdDZUDOKwpSw2tUEqi/euOO?= =?us-ascii?Q?0XC6vcjLAOGGDL4436ZBTZ1DlbDdr2xSAgO5iGNyFnYJ0nNUP7zNzrQVpE3n?= =?us-ascii?Q?h8jajcFZeibjoRXQh8t1DeWXLLL/n8WXXE1eHOKydEdu0lJQB+B+PP8HGOVF?= =?us-ascii?Q?lssk+NCRv5kyo867Dje4fGX11eqeKFIEowIiLY5gkTy3NZRIiiCoPRCbA76g?= =?us-ascii?Q?C4iHLEXeEuyv//4a5Lz8imRGtLxM/AKMmiuQ4qvwx2oJjvLTaeUAYZErwKai?= =?us-ascii?Q?5MtYo6eLOKqHmJRRoBgfe4fgzCrG7tP+Fl0/EsMxFonRLMIW0pAEhn/MN3py?= =?us-ascii?Q?GF5hX7GSxjMDRAKdf+PO6lvSaQdKXHc2RAHcA/LW/XnE5OOoz50pxH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?us-ascii?Q?x5k=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 5:04oN+KQ5VGFv3/9UitKLk2ddyAzFuIyOD/dMyTuW0PkRMfIVJklWmupLPt7D078Xb3wJgiWUwWebH4aYFZ0zW+Mw2+wZkJOPjnFO7yxDIBi/NARnIPvRAG+l8hXwa7je4Hrpy2tGLAq/RlwJW+2uWYoVAx+ttW3G9mkh2TY56A7jNTDQ8FOiDPyfvxcsQVsHaHyDjPN5ZYy3vFRn8hrH8CuXA4FBNYpyhcV7QkzJD+x3UgptBFug3wDAU9Z2q2B/FhASyWXhwqHmydFBh1Hrg+Aqk6Md5InvuieT9chLCXt5XOPCUZLKEj5Ac/rY606YC9t141Six6OjWM9PKA+aR+vp3ne72xgOoFYOtJ09zBYE6PQ7MoeN2Jeim8GrbTy23YNKSg7HNaKyCriL/EuU4EB7Mxo8xm4hXWmJnngbzSGAPS7gmuS6j8b16N5yFH6P1HK5z5s1sC+Hae9dGrdFDswKPxdkbQemLkntEyKxs3XfwLh2tzImGrDP0T1qDPSm; 24:ZnE03LLEvvKwkXD4p4zakxR6z6WpcDkowKX7noPKUNS8OuODaZxvFDEdm077xnpQOjjYWzWrSdtjOsVAQaKfzz15eL8F+j9XgCcWKVSLqt4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:B634d2TiAFpLQm+wRXP8v07OCMVmsopfV0hbCEhwP281EOajYiYYkYLNRdn22eSVAmR88zLp3vpScAwtkrNFPL/XDycA46EDXA6EaNMKqz+f86MvgVoFxM2D7IU6gGaLOcZT4qTxo/5Snm9mMyLakifmOWetBZX/CSjp8I+ZOin/8VuiMr2GxXUDRpSYTjoNu5rf7yNT2jPmkTawQ6QUg2MbuFuLxe2sA+XchvyJNYrWnTWDr4Lp0ZlSLM/2fRFjsR8nk20p+J4rPfRVKBMbxT9BD27F2zajx11hnXor2FG8lxFZ6xXeNA+JYcD5vD3DYOJ9ujuHdGIG/4MPW2tq3BTosTtd+17A6NgMcHa5N/wq+jX29N4Lp4gMHOZiKQPVekWSa+yHTsxX1ctGNmJDvE5mGHoyVYDJfoZ4ky7HgNsNH0zKw3tEVROofwaCcKztSkWty4XOIJDAwdp8eFQ+dqRxGZcfbu/N1Mtbqda+7RThdWk663Rwu4iBASoeQQIJ8IOxtIXQub06pbXFEY7xqPTvcxZiJqO9m6mOohgdlwsSsId87ZwxYyRuOXPQYsxXC2SrCTIJ6gC5FxOOebvAKY1+5+wVUtq4jjC23bLg2xyUuf69Cge0ReGpnnRg97w5OhZTQyq6GJuI1uy6hGWzDQmORvpOsV6FLXDZZ/QgbfHMT/a4Jjzv8x5NvF79rYe98KoRf6S8VnrU47vISOfxgIejG3cGSUyFvIReNcfBjCI6YEwSXKU88BWl9RMIY1vf6vgL5palINuoxAi5rdrxS55/HbHIWqvmg3Ck9AA0qIE= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2017 13:47:09.6165 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: Re: [dpdk-dev] [PATCH 6/6] service cores: enable event/sw with service 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, 26 Jun 2017 13:47:13 -0000 -----Original Message----- > Date: Fri, 23 Jun 2017 10:06:19 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: thomas@monjalon.net, jerin.jacob@caviumnetworks.com, > keith.wiles@intel.com, bruce.richardson@intel.com, Harry van Haaren > > Subject: [PATCH 6/6] service cores: enable event/sw with service > X-Mailer: git-send-email 2.7.4 > > This commit shows how easy it is to enable a specific > DPDK component with a service callback, in order to get > CPU cycles for it. > > The beauty of this method is that the service is unaware > of how much CPU time it is getting - the application can > decide how to split and slice cores and map them to the > registered services. > > Signed-off-by: Harry van Haaren > --- > drivers/event/sw/sw_evdev.c | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c > index a31aaa6..f55cad9 100644 > --- a/drivers/event/sw/sw_evdev.c > +++ b/drivers/event/sw/sw_evdev.c > @@ -38,6 +38,9 @@ > #include > #include > > +#include > +#include If rte_service_private.h needs the rte_cycles.h then I think it can be included in rte_service_private.h. > + > #include "sw_evdev.h" > #include "iq_ring.h" > #include "event_ring.h" > @@ -695,6 +698,14 @@ set_credit_quanta(const char *key __rte_unused, const char *value, void *opaque) > return 0; > } > > + > +static int32_t sw_sched_service_func(void *args) > +{ > + struct rte_eventdev *dev = args; > + sw_event_schedule(dev); > + return 0; > +} > + > static int > sw_probe(struct rte_vdev_device *vdev) > { > @@ -806,6 +817,17 @@ sw_probe(struct rte_vdev_device *vdev) > sw->credit_update_quanta = credit_quanta; > sw->sched_quanta = sched_quanta; > > + /* register service with EAL */ > + struct rte_service_spec service; > + memset(&service, 0, sizeof(struct rte_service_spec)); > + snprintf(service.name, sizeof(service.name), "%s_service", name); Should we add socket_id as well in the service name? > + service.socket_id = socket_id; > + service.callback = sw_sched_service_func; > + service.callback_userdata = (void *)dev; > + > + int32_t ret = rte_service_register(&service); > + printf("serivce register = %d, cb ud %p\n", ret, dev); sw_pmd_log? > + > return 0; Should we also check rte_service_is_running() in sw pmd start function to verify application did everything to setup the service function on service lcore? or means for feedback? > } > > -- > 2.7.4 >