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 2742D42421 for ; Thu, 19 Jan 2023 23:29:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A530640223; Thu, 19 Jan 2023 23:29:29 +0100 (CET) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mails.dpdk.org (Postfix) with ESMTP id 2A78F400D5 for ; Thu, 19 Jan 2023 23:29:28 +0100 (CET) Received: by mail-lf1-f41.google.com with SMTP id d30so5328869lfv.8 for ; Thu, 19 Jan 2023 14:29:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=02H+iZEuNyZKPYyi1eIbPdcB5FV6hpukMDzdglYsTZk=; b=H+GGVP5B0mMrqOtNg7IkQInUxvzyiU2k3L3SZLDEM6+NzbYS/Fz5/C4FAcCs3gwNCA 1dDEr9SgPpF1gqyMTp+9HL8yitvrVwr6tyOgXIoQSNznSLvFmSz9NpisGnQQCaOr1Pr1 tDXCRqmuuSOczlBW5bq72u9rnfCRBH5GVuS0Oq9tdl2GAZRByPM35iH19d+gm0EaKQFi YkoQfoezY8bHMMMmE75QPwsUo+M7JDx3QfkZZpj94q/tUUGSH3AP1SDq3BsFEzjfLXpm DM1Z/QiUR72AlCHWHNAEfvEnb/zT29DAYxxzC0RPzBuP7G7xiPCimeZtwup2WymYQ/fS m6Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=02H+iZEuNyZKPYyi1eIbPdcB5FV6hpukMDzdglYsTZk=; b=0xJHiLKwAxTzsQlHrLuDrsvc8+NUAuOtk/+9Txm8Linw+UcBHHG/iFQO+dSSU/fbSj 4/m/o8GGAVj+S0ZdH1xoa0Tfz2IyEO1o29agQgGusHDptpDudCqi4OKSmUQVFIJzNjGP ETnEWiZA9mrUZ4S1sSnCp2PfrTGE5tVbBhFzxAEQKoMvqW6PE064BdNYII5itpZhzGW1 lus4dQbNmV6tCvYktfSgVAAXaPMJ5GXD7wgOChpPsCom+r6uHvjOR8ZKNtfxqgXldkry fGGTpVhz8Fi1DMqWO6b37TRxXz1nAF1gELecBRTz5l/Sx1x04SWpfHaZqRanIcOOJyKY Y58g== X-Gm-Message-State: AFqh2koBOOGfQ6TeEKLgs9rs9Ha/VEHCkH0pG+FO7rKVzvgb1AJJLQzG nklD1UHbep16ZiP6QVHuxoLCcYERQyoxSBzldTw= X-Google-Smtp-Source: AMrXdXs+RuEdxXunp5UQhWiHZKjk/ASmmuwhIGJMiVI5iLMfU+A9pi5eIzoKdWKHzOTrtNCs2IoA7+8sQD7L5TcmDCM= X-Received: by 2002:ac2:4a74:0:b0:4cc:7b49:a2f4 with SMTP id q20-20020ac24a74000000b004cc7b49a2f4mr693694lfp.688.1674167367370; Thu, 19 Jan 2023 14:29:27 -0800 (PST) MIME-Version: 1.0 References: <20230119141406.4ba3d040@hermes.local> In-Reply-To: <20230119141406.4ba3d040@hermes.local> From: Priya Ramanathan Date: Thu, 19 Jan 2023 16:29:16 -0600 Message-ID: Subject: Re: Does DPDK supports EPOLL for 10G X550T (ixgbe driver) To: stephen@networkplumber.org Cc: users@dpdk.org, Koteswararao Kondepu , andreaf Content-Type: multipart/alternative; boundary="0000000000003a0b3605f2a5774b" 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 --0000000000003a0b3605f2a5774b Content-Type: text/plain; charset="UTF-8" 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. On Thu, Jan 19, 2023 at 4:14 PM Stephen Hemminger < stephen@networkplumber.org> wrote: > On Thu, 19 Jan 2023 13:43:19 -0600 > Priya Ramanathan wrote: > > > Hello, > > > > We use two NIC cards - 10G X550T (ixgbe) for the DPDK-based application. > > The application uses EPOLL for the UDP communication between the server > and > > the client. > > With the kernel driver, the EPOLL works properly, but when we enable DPDK > > support, we cannot see the communication correctly. > > > > I would like to know whether anyone has tested DPDK with EPOLL on the 10G > > X550T model. > > Also, please suggest which NIC models have been verified using DPDK with > > EPOLL for UDP communication. Thank you. > > > > Regards, > > Priya. > > DPDK does not directly support UDP it is designed for raw packet > applications. > It does not have traditional Linux sockets. > > DPDK does support device interrupt and rte_epoll model. > It requires configuring interrupts and using VFIO. > See the l3fwd power for an example. > -- winners do not do different things.They do things differently --0000000000003a0b3605f2a5774b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 modul= e.
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 li= ke it is not working as=C2=A0expected.

Let me go t= hrough the l3fwd example and try to understand it better. If I get any ques= tions, I will get back to you. Thank you.

Regards,=
Priya.

On Thu, Jan 19, 2023 at 4:14 PM Stephen Hemminger &l= t;stephen@networkplumber.org<= /a>> wrote:
O= n Thu, 19 Jan 2023 13:43:19 -0600
Priya Ramanathan <
shunmugapriya.ramanathan@gmail.com> wrote:

> Hello,
>
> We use two NIC cards - 10G X550T (ixgbe) for the DPDK-based applicatio= n.
> The application uses EPOLL for the UDP communication between the serve= r and
> the client.
> With the kernel driver, the EPOLL works properly, but when we enable D= PDK
> support, we cannot see the communication correctly.
>
> I would like to know whether anyone has tested DPDK with EPOLL on the = 10G
> X550T model.
> Also, please suggest which NIC models have been verified using DPDK wi= th
> EPOLL for UDP communication. Thank you.
>
> Regards,
> Priya.

DPDK does not directly support UDP it is designed for raw packet applicatio= ns.
It does not have traditional Linux sockets.

DPDK does support device interrupt and rte_epoll model.
It requires configuring interrupts and using VFIO.
See the l3fwd power for an example.


--
winners do not do different things.They do thing= s differently
--0000000000003a0b3605f2a5774b--