]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: don't restrict qeth_card to DMA memory
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 9 Aug 2018 12:48:03 +0000 (14:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 21:02:50 +0000 (14:02 -0700)
commite7b80d20adbe7bfe820dcefd715bebe3b3a18b28
treee8e6d7aed42ac8f7a8b2da88c6a7e67f9352b676
parenta076f482b2974a2ed4e47d35db88c86958dede14
s390/qeth: don't restrict qeth_card to DMA memory

Allocating the main qeth_card struct with GFP_DMA blocks us from moving
it into netdev_priv(). But the only reason why we need DMA memory is the
ccw1 structs embedded into each ccw channel. So extract those into
separate allocations, like we already do for the cmd buffers.

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