Skip to content

Commit 2e873d1

Browse files
julianwiedmanndavem330
authored andcommitted
s390/qeth: send IDX cmds via qeth_send_control_data()
This converts the IDX code to use qeth_send_control_data(), replacing a bunch of duplicated IO code and unbounded waits. It also allows the IDX sequence to benefit from the improved timeout & notify infrastructure, so that we can eliminate the DOWN -> ACTIVATING -> UP transition in the channel state machine. The patch looks rather big, but most of it is a straight-forward conversion of the old IDX cmd setup & callbacks to the new model. Signed-off-by: Julian Wiedmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 48ce6f8 commit 2e873d1

File tree

2 files changed

+206
-212
lines changed

2 files changed

+206
-212
lines changed

drivers/s390/net/qeth_core.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,6 @@ struct qeth_qdio_info {
540540
enum qeth_channel_states {
541541
CH_STATE_UP,
542542
CH_STATE_DOWN,
543-
CH_STATE_ACTIVATING,
544543
CH_STATE_HALTED,
545544
CH_STATE_STOPPED,
546545
CH_STATE_RCD,

0 commit comments

Comments
 (0)