From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EBE4542A99 for ; Mon, 8 May 2023 18:17:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B59A9410ED; Mon, 8 May 2023 18:17:34 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id 2DA2240685 for ; Mon, 8 May 2023 18:17:33 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1a50cb65c92so32876635ad.0 for ; Mon, 08 May 2023 09:17:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1683562652; x=1686154652; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=g4nAFXeKT0YLWkJpUAP1OOk/f5zweY2c5Nc9l22HBms=; b=d83jllLq0iq6ak71N8/P9h//xM9H4s/w6GAriDPsk/HFrY+3CjIXSRwGn3obPqGWSS MvdgMhe+jLaViZeUQ9U2zPyzNpmPF+njk1IXBkosYtD69gMu6ZIIurW5u0RrYd+T6V0O /XhwJtgOweyOG7zIK1l4IKwQivsYYCzFHngesFDJOrVNGzWy75xVsPlouO1iW+o3wvmy moGNPPLS38/hWGtXUbpe6K57sqioLlGuNQo7Dic47MuhNCAKXc97S5WsPguxZoHEkldH YmPARImwlffwDFkhkYY01xCQSPZCVLjMxj2VH+a2j0W1JXLG5W8gURsUS/5s6DuMtBIj TbGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683562652; x=1686154652; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=g4nAFXeKT0YLWkJpUAP1OOk/f5zweY2c5Nc9l22HBms=; b=aakr7iP/MjtBTECNqVsCeMFhdxw5uxWj8yKabUAftv6rrfT88LvM6F3B2MD3UMbTqq xdE4DjtZ4hV0A/P0sex2Mt6WjQtvWPorzXcLQOuB9NaPYSq5esQaWd9F2bYAivTJzB9W alSeKQNm8k6O7i0tFIluxFFPkrIyRb+pTxiBwR3HAM/d6Ae8acRgfaeGetOsWeUQ6Xvu i3a29NXhOfLKHmy5xVwtonB5af1el7WjSC6RS5zv+omYdjRWlpxXZBtUev4TFE6dA0Pr UL8LbiO546CWOPk1LHNYFWyraSPumvhFJqOU3ieAdL54mNi1DSeV/dOqAiTVV1bSE4RV Ddog== X-Gm-Message-State: AC+VfDyUwrK/br+LT/n/VSZBuj+5qvwy3gK1Ak/5qsy/RMjqUvA6AqJ9 j4559tgFeI1aUjDO0OS5VIertw== X-Google-Smtp-Source: ACHHUZ7llFdoyV/UalPqLCHDnJmUI8Boa/RZH/uSsFUtbJ8ZTTZsx7/5bC9anruIecR9a0dnIDLQjg== X-Received: by 2002:a17:902:e5ca:b0:1ac:4fb3:1693 with SMTP id u10-20020a170902e5ca00b001ac4fb31693mr10897962plf.52.1683562652198; Mon, 08 May 2023 09:17:32 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id k14-20020a170902760e00b0019aeddce6casm7401116pll.205.2023.05.08.09.17.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 09:17:31 -0700 (PDT) Date: Mon, 8 May 2023 09:17:30 -0700 From: Stephen Hemminger To: =?UTF-8?B?7J207J6s7ZmN?= Cc: users@dpdk.org Subject: Re: Any way to change poll mode to event driven mode dynamically Message-ID: <20230508091730.7ff1a9e5@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Mon, 8 May 2023 10:05:38 +0900 =EC=9D=B4=EC=9E=AC=ED=99=8D wrote: > Hi, guys! >=20 > I'm really interested in the energy-saving of DPDK apps. > I have been thinking of lots of ideas and now what I want to do is > change two modes(polling, event) dynamically. > Is there any way to do that? > I think it should share the same port in two modes >=20 > BR, > Jaehong Lee Look up receive interrupts. There is an example in l3fwd-power