qede: qede_poll refactoring
authorManish Chopra <manish.chopra@qlogic.com>
Thu, 30 Jun 2016 06:35:19 +0000 (02:35 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2016 09:40:53 +0000 (05:40 -0400)
commitc774169d8f7e1c05a72035756000ff590db08501
tree0ad6bdea13036222c83c45db9411e302e239a219
parentc72a6125d00f37fbb3173dc0d70c634ecf24e544
qede: qede_poll refactoring

This patch cleanups qede_poll() routine a bit
and allows qede_poll() to do single iteration to handle
TX completion [As under heavy TX load qede_poll() might
run for indefinite time in the while(1) loop for TX
completion processing and cause CPU stuck].

Signed-off-by: Manish <manish.chopra@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_main.c