Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] dpaa2-eth: use indirect call wrappers
@ 2021-03-16 14:47 Ioana Ciornei
  2021-03-16 14:47 ` [PATCH net-next 1/3] dpaa2-eth: use indirect calls wrapper for FD enqueue Ioana Ciornei
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ioana Ciornei @ 2021-03-16 14:47 UTC (permalink / raw)
  To: davem, kuba, netdev; +Cc: ruxandra.radulescu, Ioana Ciornei

From: Ioana Ciornei <ioana.ciornei@nxp.com>

The dpaa2-eth driver uses two indirect calls in fast-path, one invoked
on each FD to consume the packet and one for each Tx packet to be
enqueued.

Use the indirect call wrappers infrastructure in both dpaa2-eth and
dpaa2-switch drivers so that we avoid any RETPOLINE overhead.

Ioana Ciornei (3):
  dpaa2-eth: use indirect calls wrapper for FD enqueue
  dpaa2-eth: use indirect calls wrapper for FD consume
  dpaa2-switch: use an indirect call wrapper instead of open-coding

 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c  | 15 +++++++++++----
 .../net/ethernet/freescale/dpaa2/dpaa2-switch.c   | 12 ++++++------
 .../net/ethernet/freescale/dpaa2/dpaa2-switch.h   |  1 +
 3 files changed, 18 insertions(+), 10 deletions(-)

-- 
2.30.0


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

end of thread, other threads:[~2021-03-16 16:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-16 14:47 [PATCH net-next 0/3] dpaa2-eth: use indirect call wrappers Ioana Ciornei
2021-03-16 14:47 ` [PATCH net-next 1/3] dpaa2-eth: use indirect calls wrapper for FD enqueue Ioana Ciornei
2021-03-16 14:47 ` [PATCH net-next 2/3] dpaa2-eth: use indirect calls wrapper for FD consume Ioana Ciornei
2021-03-16 14:47 ` [PATCH net-next 3/3] dpaa2-switch: use an indirect call wrapper instead of open-coding Ioana Ciornei
2021-03-16 16:44 ` [PATCH net-next 0/3] dpaa2-eth: use indirect call wrappers Ioana Ciornei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox