]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: no delay for free tx buffer wait
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 12 Feb 2019 15:29:52 +0000 (16:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 16:59:45 +0000 (11:59 -0500)
commit0bf3b3b76b998a5e271d26ca1ab7747c44239542
tree50d2a00c1e3c848b67d559184d8e88cb99b63367
parent9e3fcd5faf1243524b1756ab430ffeff0aac97a8
net/smc: no delay for free tx buffer wait

When no free transfer buffers are available then a work to call
smc_tx_work() is scheduled. Set the schedule delay to zero, because for
the out-of-buffers condition the work can start immediately and will
block in the called function smc_wr_tx_get_free_slot(), waiting for free
buffers.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_tx.c