From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E3BB4A0597 for ; Thu, 9 Apr 2020 08:07:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7E4601C12E; Thu, 9 Apr 2020 08:07:25 +0200 (CEST) Received: from mail-vs1-f65.google.com (mail-vs1-f65.google.com [209.85.217.65]) by dpdk.org (Postfix) with ESMTP id 9FCC31C129 for ; Thu, 9 Apr 2020 08:07:23 +0200 (CEST) Received: by mail-vs1-f65.google.com with SMTP id x206so6255544vsx.5 for ; Wed, 08 Apr 2020 23:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=585qqMZRfg2IDfsnnJtUjoP9O9cPqmVi7iR6FVF4cXE=; b=Jw/MiBvrduJE/j4FdV10Erbohr2cIjcb5p6IKDQRo+iDkuOwHMd34rTUwld/vGng5W 27ioMD7y9S9HDyPWx9u1sDGvYmINq2n+CIXIS90APYNdxY8RLi89zyJHZv4eXXWoiYtN Q5/I9wBAidmsL1+GI0d+5waAobcFeyHUyAGmwFC/yxTfgMV2yb4SuFmB0GL9vvUS9VmL Z0aiv1ND6WjpsQbNrUBL0WpjcshkHfTK2XpKSQ/VP1ihqBA8Vnx5bytdIEnA1l8pZjq+ aqHGbLZDTqEuokYf8z6Yarzfi4JQN3nCYQqmnDL7XB4YdO4OuNmIfhGqbMi2ElLJv4nm 6F4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=585qqMZRfg2IDfsnnJtUjoP9O9cPqmVi7iR6FVF4cXE=; b=fQ7LE6m5FCIaz49Yax6VuKiGwz6yFIaN+o1AF2+VzZH8Tx7w0dTI43LVaD0r1V6I8m 9dTzRd5gr68DSw5jEnr273h7o3Wwyz5N5tjIl7z/PqJj3wxdqhL6pn69CqOM6e14MZil q8SH9Y3S7WTOWFm8NwLGCrZHuUrM4u/XV46bOvj4qhtLhWlnnJF1x1S6ihGlEY3XNYLH 54JTFNT+BpBDnrTwHb0mO32hxr08giO9mXqBjfvoNGBQjYLFOE5JD9u6VAC16IY/fyVj Ju5Sv4bXO6db/N038ulcXMRqkH5zmNSFUcb4ALXBfoAS/FpeTAsBSKjKrrkGMC+808is qZWA== X-Gm-Message-State: AGi0PuYAS07UBjoO3WPg3D++631Nf5KDCyCsCRUZm30qnZQ1/NcP974s 3zkPlNAMz0JA+cG/47IpEmR4YWyEFcCnOCpCIK+sMPZUDN0= X-Google-Smtp-Source: APiQypK0lyjr/YUaoBaDplqjGWYVBAbYgHY9uJ9fr6YiQSki1pheRvLjgLF2WTU8sIJ/8OEQCGRFQ7fKLm4AwF+AMWg= X-Received: by 2002:a05:6102:5ef:: with SMTP id w15mr2859493vsf.160.1586412442569; Wed, 08 Apr 2020 23:07:22 -0700 (PDT) MIME-Version: 1.0 From: Archit Pandey Date: Thu, 9 Apr 2020 11:37:12 +0530 Message-ID: To: users@dpdk.org, "Mohit P. Tahiliani" , Gokul Bargaje , Tarun Anand , sanjana.krishnam@gmail.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Calling timers from a library X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hello DPDK users, I'm building a library for DPDK which utilizes periodically called functions using the dpdk timer facility. Currently, I'm using the master core on an application to call timer_manage() and run the scheduled timers. My doubt is whether its possible to call timer_manage() from inside the library to run the scheduled timers. This would allow for a much more streamlined design. An issue which comes to mind is that my library is not aware of the cores it is being run on, hence I cannot use rte_eal_remote_launch() for a function that calls rte_timer_manage(). Any help on how I can do this would be greatly appreciated! Thanks and regards, -- Archit Pandey Senior Year B.Tech. Department of Computer Science and Engineering National Institute of Technology Karnataka Surathkal, India