In a SDN network when a switch receives a packet for which it can not find a match in its flow table, it will forward this packet to the controller. The controller will decide about this packet and will forward this packet to the sender switch for further actions.
Can controller send this packet to the destination switch directly?
For example imagine this topology:
h1 wants to send a packet to h2 and so the packet reaches sw1 first. Since sw1 does not have a rule for it, the packet will be sent to controller. The controller decides about this packet and returns the packet to sw1 for forwarding to sw2.
Is it possible for controller itself to forward the packet to sw2 instead of returning it to sw1?