netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH mlx5-next 00/11] Remove SRQ code from mlx5_core
@ 2018-11-28 18:53 Leon Romanovsky
  2018-11-28 18:53 ` [PATCH mlx5-next 01/11] net/mlx5: Align SRQ licenses and copyright information Leon Romanovsky
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Leon Romanovsky @ 2018-11-28 18:53 UTC (permalink / raw)
  To: Doug Ledford, Jason Gunthorpe
  Cc: Leon Romanovsky, RDMA mailing list, Mark Bloch, Yishai Hadas,
	Saeed Mahameed, linux-netdev

From: Leon Romanovsky <leonro@mellanox.com>

Hi Doug and Jason,

This series is intended to be applied on mlx5-next after Saeed's
infrastructure changes series are accepted:
https://patchwork.kernel.org/project/linux-rdma/list/?series=47809

----------------------------------------------------------------------
The following patchset brings mlx5 SRQ functionality to the module
which is actually using it - mlx5_ib. The original code being not used
in mlx5_core/mlx5_en, but located there, caused to unneeded maintenance
overhead.

By moving mlx5 SRQ code to mlx5_ib, we successfully reduced ~200 LOC codes
and minimized exports and headers pollution.

The proposed patches are divided to three logical groups: move from
netdev, fix IB part and cleanup.

Thanks

Leon Romanovsky (11):
  net/mlx5: Align SRQ licenses and copyright information
  net/mlx5: Remove dead transobj code
  net/mlx5: Remove not-used lib/eq.h header file
  net/mlx5: Remove references to local mlx5_core functions
  net/mlx5: Move SRQ functions to RDMA part
  RDMA/mlx5: Remove SRQ signature global flag
  RDMA/mlx5: Use stages for callback to setup and release DEVX
  RDMA/mlx5: Update SRQ functions signatures to mlx5_ib format
  RDMA/mlx5: Initialize SRQ tables on mlx5_ib
  RDMA/mlx5: Unfold create RMP function
  RDMA/mlx5: Unfold modify RMP function

 drivers/infiniband/hw/mlx5/Makefile           |   4 +-
 drivers/infiniband/hw/mlx5/cq.c               |   4 +-
 drivers/infiniband/hw/mlx5/ib_rep.c           |   4 +
 drivers/infiniband/hw/mlx5/main.c             |  33 +-
 drivers/infiniband/hw/mlx5/mlx5_ib.h          |   6 +-
 drivers/infiniband/hw/mlx5/srq.c              |  49 +--
 drivers/infiniband/hw/mlx5/srq.h              |  73 ++++
 .../srq.c => infiniband/hw/mlx5/srq_cmd.c}    | 321 ++++++++----------
 .../net/ethernet/mellanox/mlx5/core/Makefile  |   2 +-
 .../net/ethernet/mellanox/mlx5/core/main.c    |   5 -
 .../ethernet/mellanox/mlx5/core/transobj.c    | 109 ------
 include/linux/mlx5/driver.h                   |  33 --
 include/linux/mlx5/srq.h                      |  72 ----
 include/linux/mlx5/transobj.h                 |  11 -
 14 files changed, 274 insertions(+), 452 deletions(-)
 create mode 100644 drivers/infiniband/hw/mlx5/srq.h
 rename drivers/{net/ethernet/mellanox/mlx5/core/srq.c => infiniband/hw/mlx5/srq_cmd.c} (71%)
 delete mode 100644 include/linux/mlx5/srq.h

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

end of thread, other threads:[~2018-12-04  7:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-28 18:53 [PATCH mlx5-next 00/11] Remove SRQ code from mlx5_core Leon Romanovsky
2018-11-28 18:53 ` [PATCH mlx5-next 01/11] net/mlx5: Align SRQ licenses and copyright information Leon Romanovsky
2018-11-28 18:53 ` [PATCH mlx5-next 02/11] net/mlx5: Remove dead transobj code Leon Romanovsky
2018-11-28 18:53 ` [PATCH mlx5-next 03/11] net/mlx5: Remove not-used lib/eq.h header file Leon Romanovsky
2018-11-28 18:53 ` [PATCH mlx5-next 04/11] net/mlx5: Remove references to local mlx5_core functions Leon Romanovsky
2018-11-28 18:53 ` [PATCH mlx5-next 05/11] net/mlx5: Move SRQ functions to RDMA part Leon Romanovsky
2018-11-28 18:53 ` [PATCH mlx5-next 06/11] RDMA/mlx5: Remove SRQ signature global flag Leon Romanovsky
2018-11-28 18:53 ` [PATCH mlx5-next 07/11] RDMA/mlx5: Use stages for callback to setup and release DEVX Leon Romanovsky
2018-11-28 18:53 ` [PATCH mlx5-next 08/11] RDMA/mlx5: Update SRQ functions signatures to mlx5_ib format Leon Romanovsky
2018-11-28 18:53 ` [PATCH mlx5-next 09/11] RDMA/mlx5: Initialize SRQ tables on mlx5_ib Leon Romanovsky
2018-11-28 18:53 ` [PATCH mlx5-next 10/11] RDMA/mlx5: Unfold create RMP function Leon Romanovsky
2018-11-28 18:53 ` [PATCH rdma-next 11/11] RDMA/mlx5: Unfold modify " Leon Romanovsky
2018-12-04  7:29 ` [PATCH mlx5-next 00/11] Remove SRQ code from mlx5_core Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).