netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next, PATCH 0/2, v2]  net: socionext: add XDP support
@ 2018-09-12  9:02 Ilias Apalodimas
  2018-09-12  9:02 ` [net-next, PATCH 1/2, v2] net: socionext: different approach on DMA Ilias Apalodimas
  2018-09-12  9:02 ` [net-next, PATCH 2/2, v2] net: socionext: add XDP support Ilias Apalodimas
  0 siblings, 2 replies; 10+ messages in thread
From: Ilias Apalodimas @ 2018-09-12  9:02 UTC (permalink / raw)
  To: netdev, jaswinder.singh
  Cc: ard.biesheuvel, masami.hiramatsu, arnd, mykyta.iziumtsev,
	bjorn.topel, magnus.karlsson, brouer, daniel, ast,
	Ilias Apalodimas

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-09-13 20:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-12  9:02 [net-next, PATCH 0/2, v2] net: socionext: add XDP support Ilias Apalodimas
2018-09-12  9:02 ` [net-next, PATCH 1/2, v2] net: socionext: different approach on DMA Ilias Apalodimas
2018-09-12  9:02 ` [net-next, PATCH 2/2, v2] net: socionext: add XDP support Ilias Apalodimas
2018-09-12  9:14   ` Jesper Dangaard Brouer
2018-09-12  9:20     ` Ilias Apalodimas
2018-09-12  9:28       ` Björn Töpel
2018-09-12  9:25   ` Jesper Dangaard Brouer
2018-09-12  9:29     ` Ilias Apalodimas
2018-09-13 14:32       ` Jesper Dangaard Brouer
2018-09-13 15:36         ` Ilias Apalodimas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).