For atomic queues, it makes sense to release the queue as quickly as
possibly (e.g. when the queue context is no longer accessed) and allow the
scheduler to schedule another packet from the same (atomic) queue to some
other thread. The current thread could continue processing, doing some
final updates to the packet or update non-context statistics, and then
enqueue the packet. Hopefully ingress-egress ordering is still enforced
when an atomic dispatch is released early.

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

Reply via email to