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 7D6834242B for ; Fri, 20 Jan 2023 05:04:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19A6D40223; Fri, 20 Jan 2023 05:04:20 +0100 (CET) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mails.dpdk.org (Postfix) with ESMTP id C61AD400D5 for ; Fri, 20 Jan 2023 05:04:18 +0100 (CET) Received: by mail-pf1-f179.google.com with SMTP id 127so3097027pfe.4 for ; Thu, 19 Jan 2023 20:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; 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=q6sWK6+QkgIWyyFceHLxtDI7y2AYgkDQ+WKl5F1azSA=; b=v8mN/GtUwErH4eLZM6BGaKOLHOeb+W4iMAShOUpGJfGK1iNHLFbpFEJh+b6B6vDo54 1W0xHUV6WEBM5yg/BOCHYPeMYxHRWTGVo4rhA2GgZwqPBKo58MPb9H+Z9brBlA+fsVrD 2Fvz3ZFCoQ/FpBzvG/gfyjgqmyZiLal900vrh7OOXV6UDS0q8y1ddsaXYSzOa9pIQ7dZ n09+7xapwayysWi0RlDTMbjpBD74QVmE9h1VYOc1mHTx40Neu0h6X1BjT6IhDmIc1k00 0IgnpamYyrH4TXvx49LE70Njc+D3zjlRoilVI7sXuUX+TaRGjpbskBH6T7imxLDlCIdS /nSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=q6sWK6+QkgIWyyFceHLxtDI7y2AYgkDQ+WKl5F1azSA=; b=vyCsRAQ3yWHa5Kot2B4T60T36+tLw/eTUVfqAo1YDTlfYqL1Rj3ht7ZwrmkmNqIY31 4a0+gnFj6RNQhjNHBTIALbUWByTH8urHmHaFalJJn4ja1yCCRQuiv3k07rY4fU+xcQCV gS1bSqpi3NBUMgNec+7YXXUhaNDa4a+QjcOSiR8V+EuX+5LXTvQwxYzLMng4IEzdQone UjjS8v4o6C8/SSYhjk7+EqCZRkz5pHRV4GTEkACRPcCL6kdlFLQNHAjyZfZGdIBU6nKO yLDRRWga1JO9WwpX1ahuH3yIwNUqd3dTyyQmrU2acLihRaH1eqLRDsDtknMZZUDgsrd7 pNLg== X-Gm-Message-State: AFqh2krnsMWw0hfuFqnCsJrzFEo8G3vviwgr3GR802cO8wAz04CWuEgp u+zFZ2saeUCK/87MHHU2Zh8fZvAcO1eIlUqok28= X-Google-Smtp-Source: AMrXdXvbeRfSIveJfb+jVBU9gVq+KtQ5aZl+V3heI240di6q8nBXRchHzCR3IJ4RNaQRgWpZxmLgXg== X-Received: by 2002:aa7:9614:0:b0:58b:b9cc:5724 with SMTP id q20-20020aa79614000000b0058bb9cc5724mr28002077pfg.15.1674187457897; Thu, 19 Jan 2023 20:04:17 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id c17-20020aa79531000000b0058b927b9653sm16596127pfp.92.2023.01.19.20.04.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 20:04:17 -0800 (PST) Date: Thu, 19 Jan 2023 20:04:15 -0800 From: Stephen Hemminger To: Priya Ramanathan Cc: users@dpdk.org, Koteswararao Kondepu , andreaf Subject: Re: Does DPDK supports EPOLL for 10G X550T (ixgbe driver) Message-ID: <20230119200415.5a976e90@hermes.local> In-Reply-To: References: <20230119141406.4ba3d040@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Thu, 19 Jan 2023 16:29:16 -0600 Priya Ramanathan wrote: > Thank you, for the information. > I have a UDPDK stack (with DPDK at the physical layer) for UDP > communication. > > I am using VFIO module and binded the 10G X550T NIC to the VFIO module. > Then I wrote a simple server-client code for UDP communication using the > UDPDK APIs with DPDK support, which works fine. > Now, I added the epoll_create, epoll_ctl and epoll_wait commands, and it > looks like it is not working as expected. > > Let me go through the l3fwd example and try to understand it better. If I > get any questions, I will get back to you. Thank you. > > Regards, > Priya. There is no file descriptor visible to poll on in DPDK. You need to use DPDK interrupt mode which is rte_epoll. Also, if DPDK wakes up in interrupt mode, it might not be a UDP packet, it could be any type of packet that your stack has to digest (ARP, ICMP, UDP, etc)