]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: command-chain the IDX sequence
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 11 Jun 2019 16:37:59 +0000 (18:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jun 2019 05:39:31 +0000 (22:39 -0700)
commit6af32a4655391f09a9e319e774a1890c2be9bdcd
treea19c1af50a78121a09b0256936c9a41233adf7af
parent37341e8f84b1a7ecaf5cb8039c5ae30f149578ae
s390/qeth: command-chain the IDX sequence

The current IDX sequence first sends one WRITE cmd to activate the
device, and then sends a second cmd that READs the response.

Using qeth_alloc_cmd(), we can combine this into a single IO with two
command-chained CCWs.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c