]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: use memory reserves in TX slow path
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 18 Mar 2020 12:54:46 +0000 (13:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 23:33:35 +0000 (16:33 -0700)
commitf4c8ff3d771a9164d4618495e7a56e4f6c416d2a
tree671ba43eaa16f3259013fd4baabd0a733c1df5c6
parent4bb8b7bb69838c6cfdfb52636f485d0da3447ccf
s390/qeth: use memory reserves in TX slow path

When falling back to an allocation from the HW header cache, check if
the skb is eligible for using memory reserves.
This only makes a difference if the cache is empty and needs to be
refilled.

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
drivers/s390/net/qeth_l2_main.c