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: <cover.1712062203.git.petrm@nvidia.com>
Date: Tue, 2 Apr 2024 15:54:13 +0200
From: Petr Machata <petrm@...dia.com>
To: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
	<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
	<pabeni@...hat.com>, <netdev@...r.kernel.org>
CC: Ido Schimmel <idosch@...dia.com>, Amit Cohen <amcohen@...dia.com>, "Petr
 Machata" <petrm@...dia.com>, <mlxsw@...dia.com>
Subject: [PATCH net-next 00/15] mlxsw: Preparations for improving performance

Amit Cohen writes:

mlxsw driver will use NAPI for event processing in a next patch set.
Some additional improvements will be added later. This patch set
prepares the code for NAPI usage and refactor some relevant areas. See
more details in commit messages.

Patch Set overview:
Patches #1-#2 are preparations for patch #3
Patch #3 setups tasklets as part of queue initializtion
Patch #4 removes handling of unlikely scenario
Patch #5 removes unused counters
Patch #6 makes style change in mlxsw_pci_eq_tasklet()
Patch #7-#10 poll command interface instead of EQ0 usage
Patches #11-#12 make style change and break the function
mlxsw_pci_cq_tasklet()
Patches #13-#14 remove functions which can be replaced by a stored value
Patch #15 improves accessing to descriptor queue instance

Amit Cohen (15):
  mlxsw: pci: Move mlxsw_pci_eq_{init, fini}()
  mlxsw: pci: Move mlxsw_pci_cq_{init, fini}()
  mlxsw: pci: Do not setup tasklet from operation
  mlxsw: pci: Arm CQ doorbell regardless of number of completions
  mlxsw: pci: Remove unused counters
  mlxsw: pci: Make style changes in mlxsw_pci_eq_tasklet()
  mlxsw: pci: Poll command interface for each cmd_exec()
  mlxsw: pci: Rename MLXSW_PCI_EQS_COUNT
  mlxsw: pci: Use only one event queue
  mlxsw: pci: Remove unused wait queue
  mlxsw: pci: Make style change in mlxsw_pci_cq_tasklet()
  mlxsw: pci: Break mlxsw_pci_cq_tasklet() into tasklets per queue type
  mlxsw: pci: Remove mlxsw_pci_sdq_count()
  mlxsw: pci: Remove mlxsw_pci_cq_count()
  mlxsw: pci: Store DQ pointer as part of CQ structure

 drivers/net/ethernet/mellanox/mlxsw/pci.c    | 492 ++++++++++---------
 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h |   4 +-
 2 files changed, 250 insertions(+), 246 deletions(-)

-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ