mvpp2: add basic XDP support
authorMatteo Croce <mcroce@microsoft.com>
Thu, 2 Jul 2020 14:12:42 +0000 (16:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Jul 2020 21:46:24 +0000 (14:46 -0700)
commit07dd0a7aae7f72af7cec18909581c2bb570edddc
tree4a1f6deda275bd64c16a007f8303b9e0cc23fff9
parentb27db2274ba8a62512603ba874c1e992fb7de1f4
mvpp2: add basic XDP support

Add XDP native support.
By now only XDP_DROP, XDP_PASS and XDP_REDIRECT
verdicts are supported.

Co-developed-by: Sven Auhagen <sven.auhagen@voleatech.de>
Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2.h
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c