linux: mvebu: backport mvneta XDP support
authorJakov Petrina <jakov.petrina@sartura.hr>
Fri, 15 May 2020 10:52:35 +0000 (12:52 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Thu, 28 May 2020 09:43:13 +0000 (11:43 +0200)
commit76f9aa6f4bfd12fba34fc44aef890c48d4fb1024
tree17797c2a37ae9535653e5a3484cf394e064765ce
parente430376b48c31077ec7364af6692385ed50dcc78
linux: mvebu: backport mvneta XDP support

This patch backports XDP support in the mvneta driver used by Marvell ARMADA 37x,
38x and 37xx series SoCs. Supported actions are:

- XDP_DROP
- XDP_PASS
- XDP_REDIRECT
- XDP_TX

Patches are present upstream as following commits:

b0a43db9087a net: mvneta: add XDP_TX support
9e58c8b41065 net: mvneta: make tx buffer array agnostic
fa383f6b77a2 net: mvneta: move header prefetch in mvneta_swbm_rx_frame
0db51da7a8e9 net: mvneta: add basic XDP support
8dc9a0888f4c net: mvneta: rely on build_skb in mvneta_rx_swbm poll routine
568a3fa24a95 net: mvneta: introduce page pool API for sw buffer manager
ff519e2acd46 net: mvneta: introduce mvneta_update_stats routine

Signed-off-by: Jakov Petrina <jakov.petrina@sartura.hr>
target/linux/mvebu/patches-5.4/010-net-mvneta-introduce-mvneta_update_stats-routine.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/011-net-mvneta-introduce-page-pool-API-for-sw-buffer-man.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/012-net-mvneta-rely-on-build_skb-in-mvneta_rx_swbm-poll-.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/013-net-mvneta-add-basic-XDP-support.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/014-net-mvneta-move-header-prefetch-in-mvneta_swbm_rx_fr.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/015-net-mvneta-make-tx-buffer-array-agnostic.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/016-net-mvneta-add-XDP_TX-support.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/300-mvneta-tx-queue-workaround.patch