event/opdl: rework loops to comply with dpdk style