rte_distributor_get_pkt, and rte_distributor_poll_pkt

Don Trotter djtrotter at yahoo.com
Mon Oct 14 23:44:23 CEST 2024


 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 at 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  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20241014/058e02ac/attachment-0001.htm>


More information about the users mailing list