net: mvneta: rely on page_pool_recycle_direct in mvneta_run_xdp
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 20 Nov 2019 14:54:17 +0000 (16:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Nov 2019 20:34:17 +0000 (12:34 -0800)
commitf383b2950070ce4f34e74db94f70bb565b746e97
tree502365b069c072d8eeda29ad842765139cf4c628
parentcec2975f2b7058c42330a0f8164d94c6b7c8c446
net: mvneta: rely on page_pool_recycle_direct in mvneta_run_xdp

Rely on page_pool_recycle_direct and not on xdp_return_buff in
mvneta_run_xdp. This is a preliminary patch to limit the dma sync len
to the one strictly necessary

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c