Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH rdma-next v1 0/3] RDMA/mana_ib: Introduce three helper functions to clean code
@ 2024-01-22 23:22 Konstantin Taranov
  2024-01-22 23:22 ` [PATCH rdma-next v1 1/3] RDMA/mana_ib: introduce mdev_to_gc helper function Konstantin Taranov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Konstantin Taranov @ 2024-01-22 23:22 UTC (permalink / raw)
  To: kotaranov, sharmaajay, longli, jgg, leon; +Cc: linux-rdma, linux-kernel

From: Konstantin Taranov <kotaranov@microsoft.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


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

end of thread, other threads:[~2024-01-25 10:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22 23:22 [PATCH rdma-next v1 0/3] RDMA/mana_ib: Introduce three helper functions to clean code Konstantin Taranov
2024-01-22 23:22 ` [PATCH rdma-next v1 1/3] RDMA/mana_ib: introduce mdev_to_gc helper function Konstantin Taranov
2024-01-22 23:23 ` [PATCH rdma-next v1 2/3] RDMA/mana_ib: introduce mana_ib_get_netdev " Konstantin Taranov
2024-01-22 23:23 ` [PATCH rdma-next v1 3/3] RDMA/mana_ib: introduce mana_ib_install_cq_cb " Konstantin Taranov
2024-01-25 10:03 ` [PATCH rdma-next v1 0/3] RDMA/mana_ib: Introduce three helper functions to clean code Leon Romanovsky

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