diff options
| author | Ilias Apalodimas <[email protected]> | 2019-02-13 02:55:45 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-13 22:00:16 -0800 |
| commit | 1567b85eb8ad2d0fe8d77e50118e876df565d9c7 (patch) | |
| tree | d7357f5cf9befd591a7fc17bf120a4210d040eac /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | c25fff7171bebb76243ccc77f0f04aafa3db87be (diff) | |
net: page_pool: don't use page->private to store dma_addr_t
As pointed out by David Miller the current page_pool implementation
stores dma_addr_t in page->private.
This won't work on 32-bit platforms with 64-bit DMA addresses since the
page->private is an unsigned long and the dma_addr_t a u64.
A previous patch is adding dma_addr_t on struct page to accommodate this.
This patch adapts the page_pool related functions to use the newly added
struct for storing and retrieving DMA addresses from network drivers.
Signed-off-by: Ilias Apalodimas <[email protected]>
Signed-off-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions