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: <1705965781-3235-1-git-send-email-kotaranov@linux.microsoft.com>
Date: Mon, 22 Jan 2024 15:22:58 -0800
From: Konstantin Taranov <kotaranov@...ux.microsoft.com>
To: kotaranov@...rosoft.com,
	sharmaajay@...rosoft.com,
	longli@...rosoft.com,
	jgg@...pe.ca,
	leon@...nel.org
Cc: linux-rdma@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH rdma-next v1 0/3] RDMA/mana_ib: Introduce three helper functions to clean code

From: Konstantin Taranov <kotaranov@...rosoft.com>

This patchset aims to remove code repetitions in mana_ib
as well as to avoid explicit use of the gdma_dev.
The gdma_dev was either ethernet or IB device depending on
the usage, which was often easy to confuse and misuse.

Introduced functions:
1) mdev_to_gc
2) mana_ib_get_netdev
3) mana_ib_install_cq_cb

Konstantin Taranov (3):
  RDMA/mana_ib: introduce mdev_to_gc helper function
  RDMA/mana_ib: introduce mana_ib_get_netdev helper function
  RDMA/mana_ib: introduce mana_ib_install_cq_cb helper function

 drivers/infiniband/hw/mana/cq.c      | 25 +++++++-
 drivers/infiniband/hw/mana/main.c    | 40 +++++--------
 drivers/infiniband/hw/mana/mana_ib.h | 20 ++++++-
 drivers/infiniband/hw/mana/mr.c      | 13 +---
 drivers/infiniband/hw/mana/qp.c      | 88 +++++++++-------------------
 5 files changed, 84 insertions(+), 102 deletions(-)


base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ