[PATCH v2] net: mvneta: add basic XDP_DROP support

2018-12-21 Thread Domagoj Pintaric
Add initial mvneta XDP support for hardware buffer management enabled devices only. Signed-off-by: Domagoj Pintaric CC: Luka Perkov CC: Thomas Petazzoni CC: David S. Miller --- v2: - fixed unused value warning - added additional hardware buffer management check --- drivers/net/ethernet

[PATCH] net: mvneta: add basic XDP_DROP support

2018-12-19 Thread Domagoj Pintaric
Add initial mvneta XDP support for hardware buffer management enabled devices only. Signed-off-by: Domagoj Pintaric CC: Luka Perkov CC: Thomas Petazzoni CC: David S. Miller --- drivers/net/ethernet/marvell/mvneta.c | 70 +++ 1 file changed, 70 insertions(+) diff