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 64EFCA00C2 for ; Thu, 8 Dec 2022 19:32:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E12BF410D2; Thu, 8 Dec 2022 19:32:34 +0100 (CET) Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com [209.85.217.51]) by mails.dpdk.org (Postfix) with ESMTP id 3C90A4003F for ; Thu, 8 Dec 2022 19:32:33 +0100 (CET) Received: by mail-vs1-f51.google.com with SMTP id t5so2257272vsh.8 for ; Thu, 08 Dec 2022 10:32:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=utexas-edu.20210112.gappssmtp.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Clm336jIEWv1rJuLyDQsLxpkc/79UN3SXyMl7ixIsRE=; b=AceqjEDC7xpZjRyGD/WWwFqp1EJwVZomV57rkDcXTBThMn/02WQvDk8K+SSZGn/T+D nbFazFRvfRq7KBxfrG1jtP2lzRq4S6YpoXDrJG5jff4u/c/mbYmzcqGBXBUwJ8m6SodS gM5BplhjNI90KqnNo+EEJX351fpkHaa3AIni50p4JGBlfawI2PtqQgQ4nuzRqlIHKS/X t9uqTPLTCAeXdeIB/fQIztRMgzGJRg1CYgSDuHiOvtA/PNK4fu7/vvBtvemawpEhSAnW CGPrezFrBZl0SXTaNZKl66yYKXaGhe0BNLSkyLEDC5EDEIp56/ecH4CL5rD2ME8kAWtn 8GJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Clm336jIEWv1rJuLyDQsLxpkc/79UN3SXyMl7ixIsRE=; b=IuIgEEZcOt5Ti6Ly/RgBSSlNYmXNH3lHLyVSwlF0VIhfHYRFe4jlwd2LgY6tBTW6jy nQmTAnqvS2Vp81qfSoRUFDawuROKo0XNYtdHM81MRvkcYMygHFM6aIeSAP2W4c26onZ/ iOdGJz8L7KG51WVqPwYnf2t94ylJyXwRn1h9YfxIJ3rPb9mwiQ0ud1llGawA/A2jPg6j peB+McXAuycY44syi2bQA4Q4FqtmpWQRxxLPGsWKpdzY/7uMhSCC1Hl68J56s4Tkvkp6 MtNp+KmXAXAWn+lUH6LIs7bf6SBC1LGvY86nFd1GIbejouScP+XusoWMcVYM9JrGQ1p3 1Aiw== X-Gm-Message-State: ANoB5pnJkM7AOtR9DFEFW3At3eaA/rRCjx0X9prpdRpZJCGvlnXvXVVQ ZKZ9EJvwLMy0aDE/pjlFRPJSa/vA1icTscaw/zGRRxzEkb4= X-Google-Smtp-Source: AA0mqf47Waf6wIxj0svjsrf+sbtpBHdzIYiBuDFEQ4U4X3a0nJaOiEEaItTmmOLSWbU4wcqzPyEmIeziJLoGAy2QsPA= X-Received: by 2002:a05:6102:2221:b0:3b0:4a83:954d with SMTP id d1-20020a056102222100b003b04a83954dmr44195021vsb.62.1670524352122; Thu, 08 Dec 2022 10:32:32 -0800 (PST) MIME-Version: 1.0 From: Dylan Baros Date: Thu, 8 Dec 2022 12:32:21 -0600 Message-ID: Subject: DPDK Queues To: users@dpdk.org Content-Type: multipart/alternative; boundary="00000000000098d25105ef5542b8" 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 --00000000000098d25105ef5542b8 Content-Type: text/plain; charset="UTF-8" Good afternoon, I am working on learning DPDK in an attempt to write a DPDK based application and I have a few questions. My setup: - 2 x Intel Xeon Gold 6348 CPU @ 2.6 Ghz - 28 cores per socket - Max 3.5 Ghz - Hyperthreading disabled - Ubuntu 22.04.1 LTS - Kernel 5.15.0-53-generic - Cores set to performance governor - 4 x Sabrent 2TB Rocket 4 Plus in RAID0 Config - 128 GB DDR4 Memory - 10 1GB HugePages (Can change to what is required) - 1 x Mellanox ConnectX-5 100gbe NIC - 31:00.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5] - Firmware-version: 16.35.1012 - UDP Source: - 100 gbe NIC - 9000 MTU Packets - ipv4-udp packets The UDP source provides packets with 4 different destination ports. I want to direct each port to a queue and have writer threads pull data from the queue and write the payloads to one file per queue. My questions are: 1. How can I direct the data to different queues depending on port destination? RSS or rte_flow? If so how do I direct it to do so? 2. Can you have one lcore per queue or does it have to be one lcore per port? 3. How can I get to the payload in the packets? Any code examples of this? Thanks, DB --00000000000098d25105ef5542b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Good afternoon,

=
I am working=C2=A0on learning DPDK in an attempt to write a DPDK based= application and I have a few questions.=C2=A0

My setu= p:

  • 2 x Intel Xeon Gold 6348 CPU @ 2.6 Ghz
    • 28 cores per socket
    • Max 3.5 Ghz
    • Hyperthreading disabled
    • = Ubuntu 22.04.1 LTS
    • Kernel 5.15.0-5= 3-generic
    • Cores set to performance= governor
    • 4 x Sabrent 2TB Rocket 4= Plus in RAID0 Config
    • 128 GB DDR4 = Memory
    • 10 1GB HugePages (Can change to what is required)
  • 1 x Mellanox ConnectX-5 100gbe NIC
    • 31:00.0 Ethernet controller: Mella= nox Technologies MT27800 Family [ConnectX-5]
    • Firmware-version: 16.35.10= 12
  • UDP Source:
    • 100 gbe NIC
    • 9000 MTU Packets
    • ipv4-udp packets

The UDP source provides packets wit= h 4 different destination ports. I want to direct each port to a queue and = have writer threads pull data from the queue and write the payloads to one = file per queue.=C2=A0

My questions are:
1. How can I d= irect=C2=A0the data to different=C2=A0queues depending on port destination?= RSS or rte_flow? If so how do I direct it to do so?

2. Can you have one lcore per queue or does it have = to be one lcore per port?=C2=A0

3. How can I get to the payload in the packets? Any c= ode examples of this?=C2=A0

Thanks,<= /div>
DB
--00000000000098d25105ef5542b8--