OSDN Git Service

s390/qeth: allocate RX queue at probe time
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 18 Nov 2021 16:06:02 +0000 (17:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Nov 2021 11:12:29 +0000 (11:12 +0000)
commit832585d2172fdaa29ee6497a94c0b9da0ab97eec
tree1fb8a4e6ed84d431cd53f2cea01ee4ad2e63f34e
parent2edc4bf666c1f641ea524751c35657e76ce353d8
s390/qeth: allocate RX queue at probe time

We always need an RX queue, and there's no reconfig situation either
where we would need to free & rebuild the queue.

So allocate the RX queue right from the start, and avoid freeing it
during unrelated qeth_free_qdio_queues() calls.

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