> -----Original Message----- > From: Jesper Dangaard Brouer <bro...@redhat.com> > Sent: Wednesday, December 5, 2018 5:45 PM > To: Ioana Ciocoi Radulescu <ruxandra.radule...@nxp.com> > Cc: bro...@redhat.com; netdev@vger.kernel.org; da...@davemloft.net; > Ioana Ciornei <ioana.cior...@nxp.com>; dsah...@gmail.com; Camelia > Alexandra Groza <camelia.gr...@nxp.com>; Ilias Apalodimas > <ilias.apalodi...@linaro.org> > Subject: Re: [PATCH v2 net-next 0/8] dpaa2-eth: Introduce XDP support > > On Mon, 26 Nov 2018 16:27:28 +0000 > Ioana Ciocoi Radulescu <ruxandra.radule...@nxp.com> wrote: > > > Add support for XDP programs. Only XDP_PASS, XDP_DROP and XDP_TX > > actions are supported for now. Frame header changes are also > > allowed. > > Do you have any XDP performance benchmarks on this hardware?
We have some preliminary perf data that doesn't look great, but we hope to improve it :) On a LS2088A with A72 cores @2GHz (numbers in Mpps): 1core 8cores ------------------------------------------------------------------------- XDP_DROP (no touching data) 5.68 29.6 (linerate) XDP_DROP (xdp1 sample) 3.46 25.18 XDP_TX(xdp2 sample) 1.71 13.26 For comparison, plain IP forwarding through the stack is currently around 0.5Mpps (1c) / 3.8Mpps (8c). > > Also what boards (and arch's) are using this dpaa2-eth driver? Currently supported LS2088A, LS1088A, soon LX2160A (all with ARM64 cores). > Any devel board I can buy? I should have an answer for this early next week and will get back to you. Thanks, Ioana > > > p.s. Ilias and I are coding up page_pool and XDP support for Marvell > mvneta driver, which is avail on a number of avail boards, see here[1] > > [1] > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit > hub.com%2Fxdp-project%2Fxdp- > project%2Fblob%2Fmaster%2Fareas%2Farm64%2Farm01_selecting_hardwar > e.org&data=02%7C01%7Cruxandra.radulescu%40nxp.com%7C546868ba > aa074902ded608d65ac8a594%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7 > C0%7C636796215148994553&sdata=za6xUoIrv2jo%2BbvuKjXfpOXeQ3tw > 96bZZzRB2Vny1iw%3D&reserved=0 > -- > Best regards, > Jesper Dangaard Brouer > MSc.CS, Principal Kernel Engineer at Red Hat > LinkedIn: > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fww > w.linkedin.com%2Fin%2Fbrouer&data=02%7C01%7Cruxandra.radulescu > %40nxp.com%7C546868baaa074902ded608d65ac8a594%7C686ea1d3bc2b4c6f > a92cd99c5c301635%7C0%7C0%7C636796215148994553&sdata=vTe2jd3V > FXUpEVPLkbGN6i2OyyPfhQ9HacCaPZbm%2Bk8%3D&reserved=0