s390/qeth: allocate initial TX Buffer structs with GFP_KERNEL
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 18 Mar 2021 18:54:54 +0000 (19:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Mar 2021 23:18:37 +0000 (16:18 -0700)
commite47ded97f9728da5ced038c627c6b607e9706a13
treea4a82595a998acee4fe21efe1c1fb2917dd6f61d
parentc2ed62b9975e3e47a8b12f5fc4ed7958104b427b
s390/qeth: allocate initial TX Buffer structs with GFP_KERNEL

qeth_init_qdio_out_buf() is typically called during initialization, and
the GFP_ATOMIC is only needed for a very specific & rare case during TX
completion.

Allow callers to specify a gfp mask, so that the initialization path can
select GFP_KERNEL. While at it also clarify the function name.

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