aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l2_main.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>2018-03-09 12:12:59 -0500
committerDavid S. Miller <davem@davemloft.net>2018-03-09 13:10:05 -0500
commit1b45c80be08d11e3f48c514a63d8c1214829fc19 (patch)
treeba07011ba318816595edaf5abb4baf499a7807c0 /drivers/s390/net/qeth_l2_main.c
parent04f673983bdb9c117b4710b5bcc712fe63486c34 (diff)
s390/qeth: reset NAPI context during queue init
init_qdio_queues() resets the Input Queue's overall QDIO state, and positions the buffer cursor back to 0. So this is the obvious place to also reset the queue's NAPI context (in contrast to doing it rather randomly in the middle of the big set_online() path). No functional change. Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l2_main.c')
-rw-r--r--drivers/s390/net/qeth_l2_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c
index 09768677222b..8f5babdccb42 100644
--- a/drivers/s390/net/qeth_l2_main.c
+++ b/drivers/s390/net/qeth_l2_main.c
@@ -1087,7 +1087,6 @@ static int __qeth_l2_set_online(struct ccwgroup_device *gdev, int recovery_mode)
1087 qeth_l2_setup_bridgeport_attrs(card); 1087 qeth_l2_setup_bridgeport_attrs(card);
1088 1088
1089 card->state = CARD_STATE_HARDSETUP; 1089 card->state = CARD_STATE_HARDSETUP;
1090 memset(&card->rx, 0, sizeof(struct qeth_rx));
1091 qeth_print_status_message(card); 1090 qeth_print_status_message(card);
1092 1091
1093 /* softsetup */ 1092 /* softsetup */