Do we support poll (not scheduled) queue for packet in?

I'm looking to current #if 1 in ./example/packet to make commented out branch working.

Code is:

inq_def = odp_queue_create(inq_name, ODP_QUEUE_TYPE_POLL, &qparam);

ret = odp_pktio_inq_setdef(pktio, inq_def);

In odp_pktio_inq_setdef():
    if (qentry->s.type != ODP_QUEUE_TYPE_PKTIN)
        return -1;

So that poll queue can not be set up as default queue. But how can I link poll queue to the pktio, to get
access to packets with:

buf = odp_queue_deq(inq_def);

?


Thanks,
Maxim.

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to