public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v8 0/7] Automatic affinity settings for nvme-rdma
@ 2017-07-13  8:09 Sagi Grimberg
       [not found] ` <1499933384-17407-1-git-send-email-sagi-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Sagi Grimberg @ 2017-07-13  8:09 UTC (permalink / raw)
  To: Doug Ledford
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA,
	linux-nvme-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Christoph Hellwig,
	Leon Romanovsky, Saeed Mahameed

Doug, please consider this patch set for inclusion.
Saeed, care to get this into your testing environment?

This patch set is aiming to automatically find the optimal
queue <-> irq multi-queue assignments in storage ULPs (demonstrated
on nvme-rdma) based on the underlying rdma device irq affinity
settings.

Changes from v7:
- removed unneeded newline erase
- removed the explicit check on nr_hw_queues in blk_mq_rdma_map_queues

Changes from v6:
- rebased on top of doug's for-4.13-mlx-shared 

Changes from v5:
- updated change log for patch #2
- removed nit indentation changes

Changes from v4:
- removed mlx5e assumptions on device home node irq affinity mappings
- rebased to 4.12-rc5

Changes from v3:
- Renamed mlx5_disable_msix -> mlx5_free_pci_vectors for symmetry reasons

Changes from v2:
- rebased to 4.12
- added review tags

Changes from v1:
- Removed mlx5e_get_cpu as Christoph suggested
- Fixed up nvme-rdma queue comp_vector selection to get a better match
- Added a comment on why we limit on @dev->num_comp_vectors
- rebased to Jens's for-4.12/block
- Collected review tags

Sagi Grimberg (7):
  mlx5: convert to generic pci_alloc_irq_vectors
  mlx5e: don't assume anything on the irq affinity mappings of the
    device
  mlx5: move affinity hints assignments to generic code
  RDMA/core: expose affinity mappings per completion vector
  mlx5: support ->get_vector_affinity
  block: Add rdma affinity based queue mapping helper
  nvme-rdma: use intelligent affinity based queue mappings

 block/Kconfig                                      |   5 +
 block/Makefile                                     |   1 +
 block/blk-mq-rdma.c                                |  52 ++++++++++
 drivers/infiniband/hw/mlx5/main.c                  |   9 ++
 drivers/net/ethernet/mellanox/mlx5/core/en.h       |   1 -
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |  56 +++++------
 drivers/net/ethernet/mellanox/mlx5/core/eq.c       |   9 +-
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c  |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/health.c   |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/main.c     | 106 ++++-----------------
 .../net/ethernet/mellanox/mlx5/core/mlx5_core.h    |   1 -
 drivers/nvme/host/rdma.c                           |  29 ++++--
 include/linux/blk-mq-rdma.h                        |  10 ++
 include/linux/mlx5/driver.h                        |   8 +-
 include/rdma/ib_verbs.h                            |  24 +++++
 15 files changed, 173 insertions(+), 142 deletions(-)
 create mode 100644 block/blk-mq-rdma.c
 create mode 100644 include/linux/blk-mq-rdma.h

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2017-08-11 15:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-13  8:09 [PATCH v8 0/7] Automatic affinity settings for nvme-rdma Sagi Grimberg
     [not found] ` <1499933384-17407-1-git-send-email-sagi-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-07-13  8:09   ` [PATCH v8 1/7] mlx5: convert to generic pci_alloc_irq_vectors Sagi Grimberg
2017-07-13  8:09   ` [PATCH v8 2/7] mlx5e: don't assume anything on the irq affinity mappings of the device Sagi Grimberg
2017-07-13  8:09   ` [PATCH v8 3/7] mlx5: move affinity hints assignments to generic code Sagi Grimberg
2017-07-13  8:09   ` [PATCH v8 4/7] RDMA/core: expose affinity mappings per completion vector Sagi Grimberg
2017-07-13  8:09   ` [PATCH v8 5/7] mlx5: support ->get_vector_affinity Sagi Grimberg
2017-07-13  8:09   ` [PATCH v8 6/7] block: Add rdma affinity based queue mapping helper Sagi Grimberg
2017-07-13  8:09   ` [PATCH v8 7/7] nvme-rdma: use intelligent affinity based queue mappings Sagi Grimberg
2017-07-13  8:20   ` [PATCH v8 0/7] Automatic affinity settings for nvme-rdma Leon Romanovsky
     [not found]     ` <20170713082041.GK1528-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-07-13  8:28       ` Sagi Grimberg
     [not found]         ` <d3e93dfa-79c0-22c5-eacd-a8699b924de8-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-07-13  8:57           ` Leon Romanovsky
     [not found]             ` <20170713085700.GL1528-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-08 19:14               ` Doug Ledford
     [not found]                 ` <1502219676.3002.11.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-08-11 15:42                   ` Doug Ledford

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