s390/qeth: allocate a single cmd on read channel
We statically allocate 8 cmd buffers on the read channel, when the only IO left that's still using them is the long-running READ. Replace this with a single allocated cmd, that gets restarted whenever the READ completed. This introduces refcounting for allocated cmds, so that the READ cmd can survive the IO completion. Signed-off-by:Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/s390/net/qeth_core.h 7 additions, 0 deletionsdrivers/s390/net/qeth_core.h
- drivers/s390/net/qeth_core_main.c 32 additions, 22 deletionsdrivers/s390/net/qeth_core_main.c
- drivers/s390/net/qeth_l2_main.c 0 additions, 1 deletiondrivers/s390/net/qeth_l2_main.c
- drivers/s390/net/qeth_l3_main.c 0 additions, 1 deletiondrivers/s390/net/qeth_l3_main.c
Loading
Please register or sign in to comment