P4QoS: QoS-based Packet Processing with P4