net: page_pool: add helper function to retrieve dma addresses
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 18 Jun 2019 13:05:12 +0000 (15:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 15:23:13 +0000 (11:23 -0400)
commit0afdeeed08b5f59148069e9f7a52d2ab0eba5d49
treeeef742791f3841fa6d7ace5be6487661e708b136
parent9371a56f7101cc3f12b57db4bfbb6159205211f4
net: page_pool: add helper function to retrieve dma addresses

On a previous patch dma addr was stored in 'struct page'.
Use that to retrieve DMA addresses used by network drivers

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/page_pool.h