* rte_distributor_get_pkt, and rte_distributor_poll_pkt
[not found] <1200442356.1454625.1728937765351.ref@mail.yahoo.com>
@ 2024-10-14 20:29 ` Don Trotter
2024-10-14 21:44 ` Don Trotter
0 siblings, 1 reply; 2+ messages in thread
From: Don Trotter @ 2024-10-14 20:29 UTC (permalink / raw)
To: users
[-- Attachment #1: Type: text/plain, Size: 696 bytes --]
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: 1474 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rte_distributor_get_pkt, and rte_distributor_poll_pkt
2024-10-14 20:29 ` rte_distributor_get_pkt, and rte_distributor_poll_pkt Don Trotter
@ 2024-10-14 21:44 ` Don Trotter
0 siblings, 0 replies; 2+ messages in thread
From: Don Trotter @ 2024-10-14 21:44 UTC (permalink / raw)
To: users
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-14 21:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1200442356.1454625.1728937765351.ref@mail.yahoo.com>
2024-10-14 20:29 ` rte_distributor_get_pkt, and rte_distributor_poll_pkt Don Trotter
2024-10-14 21:44 ` Don Trotter
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).