linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/8] connect reject event helpers
@ 2016-10-25 20:19 Steve Wise
  2016-10-25 18:33 ` [PATCH v4 1/8] rdma_cm: add rdma_reject_msg() helper function Steve Wise
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Steve Wise @ 2016-10-25 20:19 UTC (permalink / raw)


While reviewing:

http://lists.infradead.org/pipermail/linux-nvme/2016-October/006681.html

I decided to propose transport-agnostic helper functions to better
handle connection reject event information.  Included are patches
for nvme/fabrics, iser, and rds to utilize the new helpers.

Doug, this series applies on top of v4.9-rc2 as well as sagi's nvmf-4.9-rc
branch as of today.  The series should be targeted for 4.10.

Changes since v3:
- added reviewed-by/acked-by tags
- positive logic in reject_msg helpers
- cleaned up reject message strings
- added patches to use helpers in isert and nvmet_rdma
- fixed zero-day build warning

Changes since v2:

- reworked ibcm/iwcm_reject_msg() as per Christoph's recommendation
- use ibcm_ and iwcm_ prefix instead of ib_ and iw_ for reject_msg funcs
- change rdma_consumer_reject() to rdma_is_consumer_reject()
- add rdma_consumer_reject_data() helper function to return private
  data/len
- use new helpers in nvme_rdma, ib_iser, and rdma_rds
- in nvme_rdma, add strings for nvme_rdma_cm_status values

---

Steve Wise (8):
  rdma_cm: add rdma_reject_msg() helper function
  rdma_cm: add rdma_is_consumer_reject() helper function
  rdma_cm: add rdma_consumer_reject_data helper function
  nvme-rdma: use rdma connection reject helper functions
  ib_iser: log the connection reject message
  rds_rdma: log the connection reject message
  ib_isert: log the connection reject message
  nvmet_rdma: log the connection reject message

 drivers/infiniband/core/cm.c             | 48 ++++++++++++++++++++++++++++++++
 drivers/infiniband/core/cma.c            | 43 ++++++++++++++++++++++++++++
 drivers/infiniband/core/iwcm.c           | 21 ++++++++++++++
 drivers/infiniband/ulp/iser/iser_verbs.c |  5 +++-
 drivers/infiniband/ulp/isert/ib_isert.c  |  2 ++
 drivers/nvme/host/rdma.c                 | 46 ++++++++++++++++++++++++------
 drivers/nvme/target/rdma.c               |  3 ++
 include/rdma/ib_cm.h                     |  6 ++++
 include/rdma/iw_cm.h                     |  6 ++++
 include/rdma/rdma_cm.h                   | 25 +++++++++++++++++
 net/rds/rdma_transport.c                 |  5 +++-
 11 files changed, 200 insertions(+), 10 deletions(-)

-- 
2.7.0

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

end of thread, other threads:[~2016-10-26 19:51 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-25 20:19 [PATCH v4 0/8] connect reject event helpers Steve Wise
2016-10-25 18:33 ` [PATCH v4 1/8] rdma_cm: add rdma_reject_msg() helper function Steve Wise
2016-10-25 18:33 ` [PATCH v4 2/8] rdma_cm: add rdma_is_consumer_reject() " Steve Wise
2016-10-25 19:33 ` [PATCH v4 3/8] rdma_cm: add rdma_consumer_reject_data " Steve Wise
2016-10-25 19:34 ` [PATCH v4 4/8] nvme-rdma: use rdma connection reject helper functions Steve Wise
2016-10-26 15:26   ` Bart Van Assche
2016-10-26 16:17     ` Steve Wise
2016-10-26 19:39     ` Steve Wise
2016-10-26 19:51       ` Steve Wise
2016-10-25 19:35 ` [PATCH v4 7/8] ib_isert: log the connection reject message Steve Wise
2016-10-26  8:30   ` Sagi Grimberg
2016-10-25 19:35 ` [PATCH v4 5/8] ib_iser: " Steve Wise
2016-10-25 19:35 ` [PATCH v4 8/8] nvmet_rdma: " Steve Wise
2016-10-26  8:30   ` Sagi Grimberg
2016-10-25 19:35 ` [PATCH v4 6/8] rds_rdma: " Steve Wise
2016-10-26  8:32 ` [PATCH v4 0/8] connect reject event helpers Sagi Grimberg

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).