OSDN Git Service

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

On a previous patch dma addr was stored in 'struct page'.
Use that to unmap 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
net/core/page_pool.c