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 88A6B41E2E; Fri, 10 Mar 2023 21:57:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C1A640A8B; Fri, 10 Mar 2023 21:57:35 +0100 (CET) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mails.dpdk.org (Postfix) with ESMTP id B45F740685 for ; Fri, 10 Mar 2023 21:57:33 +0100 (CET) Received: by mail-pg1-f175.google.com with SMTP id 132so3783921pgh.13 for ; Fri, 10 Mar 2023 12:57:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678481852; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=z+A+ahI9Zgvp8L5omkyh7sCd3ZCV85MkpINNAXalMSY=; b=CPQ/JqNEhrFqZfpAaCLECZRraVn2AT8+J0VCaJXIksCMrAp4J36KjlxajkVIZhbxx1 QoRjm+KhmIGgwHyUIP8GV8gCTUH9q/uTvwD0OAi7+3aC36DnRvSM+E5lUThZUNxf1sY3 UeNCoqlD9h7oR5a8Xp7fLS/wuFz3qQGSKhWbM/MtpQSZlIh9zuh+87a3Yd4FgVo2G/FN o84iUITTGmrOYW/bjWyM8ZgWQ8w5K7tYeNxCNTOSG2We/Dv/rlP1Rk1VG8zragSP58HP mhRyBsT5Y6/4DYffnfculngoPI6PWASlN42Qpk755msmJO08fCIpGNwpVpL8hN6uP2eW C4Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678481852; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=z+A+ahI9Zgvp8L5omkyh7sCd3ZCV85MkpINNAXalMSY=; b=RGKTzTyy02vricUZVCecsCWFljKxToJIU0X6qMuN7xTi87z4o1gwbTn/y8HucA++U4 YqJkjQqfWeJQNdl75F+UJ0k7szWrXcvZdwhMvfhPqrWfl67AzupuUV0BMij4lTMnt5r+ MjKFosijeuWiaRoWMOH7KqNA7CI5vqDExAqbCFkaW+LkmNbzJ7triw4d+YY0+Dfhl7AU CZMYcdnLDApaASSzMvyUH6kAHIdkjqHdu3CqLDPjb1B9kvAzIgRJ0rstiBrdXkbLwJ9e UBh1oCHr3K2bXgVWm/SefQ3HsnVolqV4GLBXuNN6GhHljQPYZPcFNgh6gvvAeXU0SXRR AjOg== X-Gm-Message-State: AO0yUKX04OrfwvSHXSPLtBzKA667mHkKBdQ6E/fEAumTVNECJ96n5r0i dEJzPBhG98QNednqGh0WyV9oDUD1nbkWti7xElBGSX/itZM= X-Google-Smtp-Source: AK7set9Fm2+czUPQqS554nCi9IK72oVbMDntQ7yaI3qXznPi9bUmbtwXztwo+NNVJMGtcuOWHp7mDeQ3Rl87Jpb3lcU= X-Received: by 2002:a62:8284:0:b0:593:dcf6:acc2 with SMTP id w126-20020a628284000000b00593dcf6acc2mr10974737pfd.1.1678481852502; Fri, 10 Mar 2023 12:57:32 -0800 (PST) MIME-Version: 1.0 From: Rajasekhar Pulluru Date: Sat, 11 Mar 2023 02:27:20 +0530 Message-ID: Subject: Dpdk packet reception To: dev@dpdk.org Content-Type: multipart/alternative; boundary="000000000000949c7405f6920278" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --000000000000949c7405f6920278 Content-Type: text/plain; charset="UTF-8" Hi Team, Would like to know if dpdk has a select(fd)/epoll(fd) like mechanism to wake-up the application (say rx-pthread) asynchronously upon packet reception without enabling rxq interrupts? I can't afford to lose a cpu-core polling continuously to check for packets using rte_eth_rx_burst.And I only have 1 core to receive packets from multiple ports.I don't want to use usleep of fixed timeout between rte_eth_rx_burst api invocation, as it potentially could lead to packets being rx-missed in 1 or more ports. Thanks & Regards, Rajasekhar --000000000000949c7405f6920278 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Team,

Would like to know if dpdk has a sel= ect(fd)/epoll(fd) like mechanism to wake-up the application (say rx-pthread= ) asynchronously upon packet reception without enabling rxq interrupts?=C2= =A0

I can't afford to lose a cpu-core polling = continuously=C2=A0to check for packets using rte_eth_rx_burst.And I only ha= ve 1 core to receive packets from multiple ports.I don't want to use us= leep of fixed timeout between rte_eth_rx_burst api invocation, as it potent= ially could lead to packets being rx-missed in 1 or more ports.
<= br>
Thanks & Regards,
Rajasekhar
--000000000000949c7405f6920278--