learning-switch: Break packet-in processing into two steps.