A routing algorithm decides the path followed by a packet from the source to destination routers in a network.
Turn restriction routing[1] is a routing algorithm for mesh-family of topologies which avoids deadlocks by restricting the types of turns that are allowed in the algorithm while determining the route from source node to destination node in a network.A deadlock (shown in fig 1) is a situation in which no further transportation of packets can take place due to the saturation of network resources like buffers or links.
So an easy and inexpensive solution is to avoid deadlocks by choosing routing techniques that prevent cyclic acquisition of channels.
A cyclic acquisition of channels can take place only if all the four possible clockwise (or anti-clockwise) turns have occurred.
Some of these techniques have been listed below.Dimension ordered (X-Y) routing[1] (shown in fig 3) restricts all turns from y-dimension to x-dimension.
Those feeder routers may have to use a longer path to get to destination D, thereby decongesting the link from S to D to an extent.