]> asedeno.scripts.mit.edu Git - linux.git/commit
net: socionext: get rid of huge dma sync in netsec_alloc_rx_data
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 14 Jan 2020 09:24:19 +0000 (10:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2020 02:46:14 +0000 (18:46 -0800)
commit0fadc0a2b1c472c50a6d05b76c5f73c769bce81e
treeeba0264e377c8ab45fc293cdee669a125f3a4e72
parent0c73ffc7dcdc8de8110c4d7d2fae4750d750d650
net: socionext: get rid of huge dma sync in netsec_alloc_rx_data

Socionext driver can run on dma coherent and non-coherent devices.
Get rid of huge dma_sync_single_for_device in netsec_alloc_rx_data since
now the driver can let page_pool API to managed needed DMA sync

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/socionext/netsec.c