commit | 798dda818ad1fdad6240959241194b490d6660ee | [log] [tgz] |
---|---|---|
author | Denis Kirjanov <kda@linux-powerpc.org> | Wed Mar 25 23:35:28 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 29 21:49:20 2020 -0700 |
tree | 143229522200156744ffef94c621a3b9b733d2b3 | |
parent | 5ef5c90e3cb3ae1ce7bebddaeb8e8f44309950f7 [diff] |
net: page pool: allow to pass zero flags to page_pool_init() page pool API can be useful for non-DMA cases like xen-netfront driver so let's allow to pass zero flags to page pool flags. v2: check DMA direction only if PP_FLAG_DMA_MAP is set Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>