]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit443c3513b1ee31d9b3d1075d567b514f2a2cef6b
tree1fb8a4e6ed84d431cd53f2cea01ee4ad2e63f34e
parent4e582b0d53a0ad70f05b27e7c608f690e8bc28fa
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