DPDK usage discussions
 help / color / mirror / Atom feed
From: Don Trotter <djtrotter@yahoo.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: Re: rte_distributor_get_pkt, and rte_distributor_poll_pkt
Date: Mon, 14 Oct 2024 21:44:23 +0000 (UTC)	[thread overview]
Message-ID: <641910003.1479516.1728942263749@mail.yahoo.com> (raw)
In-Reply-To: <1200442356.1454625.1728937765351@mail.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 858 bytes --]

 I should have mentioned that we are using DPDK: 22.11.0.
    On Monday, October 14, 2024 at 03:29:36 PM CDT, Don Trotter <djtrotter@yahoo.com> wrote:  
 
 Hi,
I am trying to use the distributor functionality. I create the distributor: In the call to rte_distributor_create() numPipelines is set to the total available cores, however, there will really be fewer cores used as workers.
    rte_distributor_create("my_dist", rte_socket_id(), numPipelines, RTE_DIST_ALG_BURST);

I see the call to rte_distributor_request_pkt() is blocking. I switched to using rte_distributor_request_pkt() and rte_distributor_poll_pkt() instead and still see it block. In the SDK code, rte_distributor_request_pkt() looks obvious that it blocks, but rte_distributor_poll_pkt() does not look like it would block.
Any help is appreciated.
Thanks,Don Trotter  

[-- Attachment #2: Type: text/html, Size: 2212 bytes --]

      reply	other threads:[~2024-10-14 21:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1200442356.1454625.1728937765351.ref@mail.yahoo.com>
2024-10-14 20:29 ` Don Trotter
2024-10-14 21:44   ` Don Trotter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=641910003.1479516.1728942263749@mail.yahoo.com \
    --to=djtrotter@yahoo.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).