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 D7470A0C4B for ; Sat, 6 Nov 2021 16:12:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A9BA40151; Sat, 6 Nov 2021 16:12:29 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 8235040040 for ; Sat, 6 Nov 2021 16:12:27 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CF3F25C0058; Sat, 6 Nov 2021 11:12:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 06 Nov 2021 11:12:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= hmtGjagWPUo/ncoMBacNw4pYwI6Lwqe2qh4wRaDP1lE=; b=QCYzfQ9v3o4wF13s kXrZEwyjuAP+ckWA8nEK6frFLmrmu/l0JJ3m7Z1nFHyc5S7yUv5uVHP4thOCKjzc 2BobYuWq1HJsY2kg9JibaEukXx2+MpEuk9mALWPTycdUojY7RDPGaTBjX4CZwaur iDJXeC9gSDwXVDCtI/TJeLW+EOKgcImJdvpjR8g8va9VYmk2gvAzTo4/FmYmUTzw E4fhf4C6gWTcJyoCixRx2ok+V9OpJ0t+nWAGMulE2N7b8BaSH3Q6gEgvzVy4dgqs 2JbQQrnK+hBdXUh/r95f3845dPX5cSX1tRyoIDDkiIfzwWBwG7JEI5IRDiHXz4Te hamFQw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=hmtGjagWPUo/ncoMBacNw4pYwI6Lwqe2qh4wRaDP1 lE=; b=B/E1erfhIB/ZCx54pKKgovxQ7dTGA03oXHOhIZNmhQT1DjiTCTiSS3Sdg rVXwZBvqPUwrJFp+05fEsRwRULGy1QRpJeg1yRbKfiv7hCjGwEjPjeXG5AN4yGh/ TMxGVKcHKQSYIXO0WZs4GT6lyKrfw8j+a4WGKuZFSoWnUKQUV+dbBc0tE0Fe49Qa SM7DQ5O0DKL0LrCwENzi6ekj32O7ZnueCQZurcYON+9TLPo3Y63WYGcLVcOyIxaO a/gUx59+qPFojS/86+z+OF6ktPY72Np9B6x3PqFZod6hNTmXGRnnjEsgdNxNmrvj 2sKaEnj0bCHTgyJJjEwQKwq6Q1oRA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtdekgdejudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeekteehtdeivefhieegjeelgedufeejheekkeetueevieeuvdevuedt jeevheevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 Nov 2021 11:12:24 -0400 (EDT) From: Thomas Monjalon To: Jack Humphries Cc: Dmitry Kozlyuk , users@dpdk.org, Haiyue Wang , david.hunt@intel.com Subject: Re: Enable RX interrupts Date: Sat, 06 Nov 2021 16:12:22 +0100 Message-ID: <7085247.JFQ1STkTSE@thomas> In-Reply-To: <8B6D83B4-DF17-4053-88D1-404CBCBB584F@chillysky.com> References: <73CAB2FD-77CD-4C84-BE8B-F100A1CA55F3@chillysky.com> <20211101104648.3771e1c4@sovereign> <8B6D83B4-DF17-4053-88D1-404CBCBB584F@chillysky.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 01/11/2021 09:56, Jack Humphries: > Hi Dmitry, >=20 > Thanks for the quick response! Yes, I was calling rte_eth_dev_rx_intr_ena= ble =E2=80=94 I just tried re-arming interrupts before each call to epoll a= nd my initial experiment shows that fixes the issue. >=20 > You are right that l3fwd-power does the re-arming as well. If possible, i= t would be helpful to have a comment in that example code about the re-armi= ng since the impression I got from quickly looking at the l3fwd-power code = is that interrupts are turned off because the app wants to poll for a thres= hold of time before =E2=80=9Cgiving up=E2=80=9D and turning interrupts back= on again. I=E2=80=99m happy to open a pull request to add this comment, to= o, if you prefer. The best is to submit a patch on the mailing list, Cc'in the relevant maint= ainers. Thanks