add qos support to kernel