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