summaryrefslogtreecommitdiff
path: root/drivers/s390/net/ctcm_fsms.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-06-11 18:38:00 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-13 22:39:32 -0700
commitd9b9f40bba7db1147e8069fd3eba711b2247ee67 (patch)
tree0de606247851098ecb47f8e2f6293d8d4a9915f3 /drivers/s390/net/ctcm_fsms.c
parentf3b783b1d0d7d2d76e2bd8c136a80487f93dc680 (diff)
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>
Diffstat (limited to 'drivers/s390/net/ctcm_fsms.c')
0 files changed, 0 insertions, 0 deletions