]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a6c6bbaf39c0129013d7e523a35b329c38d4823
tree5bbe6d106cb73add65d943e20a0fac7bc47f321b
parentb024e8819bfb18a907db22a5578835446afd7fde
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