net: mvpp2: Add xdp tx return bulking support
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 13 Nov 2020 11:48:31 +0000 (12:48 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 14 Nov 2020 01:29:00 +0000 (02:29 +0100)
commitdbef19ccde5d83dd16646532f091b54a67c73cd1
tree288c5374b99bc1d823e9cb5e143e2a475c41f450
parent2f9d09394d138be99050ad9eabe4d3ff13f79da4
net: mvpp2: Add xdp tx return bulking support

Convert mvpp2 driver to xdp_return_frame_bulk APIs.

XDP_REDIRECT (upstream codepath): 1.79Mpps
XDP_REDIRECT (upstream codepath + bulking APIs): 1.93Mpps

Co-developed-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Matteo Croce <mcroce@microsoft.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/0b38c295e58e8ce251ef6b4e2187a2f457f9f7a3.1605267335.git.lorenzo@kernel.org
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c