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)
commitf15cdaf237e9acc2ee14663ba53b872a27ee7015
treee8e6d7aed42ac8f7a8b2da88c6a7e67f9352b676
parent95f4d8b75ad3fb774113450c9788af0dde91a27d
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