lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210316144730.2150767-1-ciorneiioana@gmail.com>
Date:   Tue, 16 Mar 2021 16:47:27 +0200
From:   Ioana Ciornei <ciorneiioana@...il.com>
To:     davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org
Cc:     ruxandra.radulescu@....com, Ioana Ciornei <ioana.ciornei@....com>
Subject: [PATCH net-next 0/3] dpaa2-eth: use indirect call wrappers

From: Ioana Ciornei <ioana.ciornei@....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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ