]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb924f0d21ed1e28646ad059d6103a8f2cd2be1b
treea4a82595a998acee4fe21efe1c1fb2917dd6f61d
parent6fb6cbe1e42d0aacbc5131bcc3a0fdc9878a1c95
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