net: ethernet: xilinx: Fix lost wake-up scenario in xmit
In ndo_start_xmit we are checking for free BD count
and incase there are no available BD's we stop
the networking stack.
If these sequence of operation are preemted then
it will lead to classic Lost Wake-Up Problem.
If interrupt comes after xmit has checked BD
count and TX post processing clears up the BD and
issue wake-up and then later xmit goes for a wait.
There is no one to wake up xmit and as wake-up
event is lost.
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>