Ok, now move send pkt to dequeue_write_port

have to lock the phaldata when sending pkt