This patch series adds AF_XDP support socionext netsec driver
In addition the new dma allocation scheme offers a 10% boost on Rx
pps rate using 64b packets
- patch [1/2]: Use a different allocation scheme for Rx DMA buffers to prepare
the driver for AF_XDP support
- patch [2/2]: Add XDP support without zero-copy
Changes since v1:
- patch [2/2]:
- Rephrased commit message
- As pointed out by Toshiaki Makita:
- Added XDP_PACKET_HEADROOM
- Fixed a bug on XDP_PASS case as pointed out by Toshiaki Makita
- Using extact for error messaging instead of netdev_warn, when
tryint to setup XDP as suggested by Toshiaki Makita
Ilias Apalodimas (2):
net: socionext: different approach on DMA
net: socionext: add XDP support
drivers/net/ethernet/socionext/netsec.c | 449 ++++++++++++++++++++++++--------
1 file changed, 334 insertions(+), 115 deletions(-)
--
2.7.4