Interplay Between Priority Queues and Controlled Delay in Programmable Data Planes