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: <20200825113556.18342-1-bjorn.topel@gmail.com>
Date:   Tue, 25 Aug 2020 13:35:53 +0200
From:   Björn Töpel <bjorn.topel@...il.com>
To:     intel-wired-lan@...ts.osuosl.org
Cc:     Björn Töpel <bjorn.topel@...il.com>,
        magnus.karlsson@...el.com, netdev@...r.kernel.org,
        bpf@...r.kernel.org, kuba@...nel.org
Subject: [PATCH net-next v2 0/3] i40e driver performance tweaks for AF_XDP

This series contains three patches worth of driver tweaks for the i40e
AF_XDP Rx path, that in total improves the Rx performance (rx_drop 64B
packets-per-second) with 9%.

Please refer to the individual commits for more details.

v1->v2: Removed the napi budget increase patch [1]. Instead, that will
        be sent out as a more generic series that addresses all AF_XDP
        zero-copy capable drivers, as suggested by Jakub. [2]

Cheers,
Björn

[1] https://lore.kernel.org/netdev/20200702153730.575738-4-bjorn.topel@gmail.com/
[2] https://lore.kernel.org/netdev/20200728131653.3b90336b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com/


Björn Töpel (3):
  i40e, xsk: remove HW descriptor prefetch in AF_XDP path
  i40e: use 16B HW descriptors instead of 32B
  i40e, xsk: move buffer allocation out of the Rx processing loop

 drivers/net/ethernet/intel/i40e/i40e.h        |  2 +-
 .../net/ethernet/intel/i40e/i40e_debugfs.c    | 10 ++++----
 drivers/net/ethernet/intel/i40e/i40e_main.c   |  4 ++--
 drivers/net/ethernet/intel/i40e/i40e_trace.h  |  6 ++---
 drivers/net/ethernet/intel/i40e/i40e_txrx.c   | 19 ++++++++++++---
 drivers/net/ethernet/intel/i40e/i40e_txrx.h   |  2 +-
 .../ethernet/intel/i40e/i40e_txrx_common.h    | 13 ----------
 drivers/net/ethernet/intel/i40e/i40e_type.h   |  5 +++-
 drivers/net/ethernet/intel/i40e/i40e_xsk.c    | 24 ++++++++++++-------
 9 files changed, 47 insertions(+), 38 deletions(-)


base-commit: 079f921e9f4d3992968a2fc5dc3af0a3540853cc
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ