Skip to content

IB/hfi1, qib, rdmavt: patches for next 08/21/2017

Dennis Dalessandro linux-rdma stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 of 16 patches 7 repliesIn review

15 of 16 patches are in this archive. The cover letter announces 16.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16IB/rdmavt: Use rvt_put_swqe() in rvt_clear_mr_ref()drivers/infiniband/sw/rdmavt/qp.c+1 -50 replies
3/16IB/qib: Remove unnecessary memory allocation for boardnamedrivers/infiniband/hw/qib/qib_iba6120.c drivers/infiniband/hw/qib/qib_iba7220.c drivers/infiniband/hw/qib/qib_iba7322.c +1 more+32 -510 replies
4/16IB/qib: Stricter bounds checking for copy and array accessdrivers/infiniband/hw/qib/qib_mad.c drivers/infiniband/hw/qib/qib_ruc.c+6 -40 replies
5/16IB/hfi1: Ratelimit prints from sdma_interruptdrivers/infiniband/hw/hfi1/chip.c drivers/infiniband/hw/hfi1/hfi.h+8 -20 replies
6/16IB/hfi1: Improve local kmem_cache_alloc performancedrivers/infiniband/hw/hfi1/user_sdma.c drivers/infiniband/hw/hfi1/verbs_txreq.c drivers/infiniband/hw/hfi1/vnic_sdma.c+6 -270 replies
7/16IB/hfi1: Clean up hfi1_user_exp_rcv_setup functiondrivers/infiniband/hw/hfi1/user_exp_rcv.c drivers/infiniband/hw/hfi1/user_exp_rcv.h+153 -880 replies
8/16IB/hfi1: Clean up user_sdma_send_pkts() functiondrivers/infiniband/hw/hfi1/user_sdma.c+82 -590 replies
9/16IB/hfi1: Clean up pin_vector_pages() functiondrivers/infiniband/hw/hfi1/user_sdma.c+45 -344 replies
10/16IB/hfi1: Fix the bail out code in pin_vector_pages() functiondrivers/infiniband/hw/hfi1/user_sdma.c+10 -70 replies
11/16IB/hfi1: Remove duplicate definitions of num_user_pages() functiondrivers/infiniband/hw/hfi1/user_exp_rcv.c drivers/infiniband/hw/hfi1/user_exp_rcv.h drivers/infiniband/hw/hfi1/user_sdma.c+12 -200 replies
12/16IB/hfi1: Move structure definitions from user_exp_rcv.c to user_exp_rcv.hdrivers/infiniband/hw/hfi1/file_ops.c drivers/infiniband/hw/hfi1/user_exp_rcv.c drivers/infiniband/hw/hfi1/user_exp_rcv.h +1 more+19 -190 replies
13/16IB/hfi1: Move structure and MACRO definitions in user_sdma.c to user_sdma.hdrivers/infiniband/hw/hfi1/user_sdma.c drivers/infiniband/hw/hfi1/user_sdma.h+166 -1682 replies
14/16IB/hfi1: Fix whitespace alignment issue for MADdrivers/infiniband/hw/hfi1/mad.c+1 -10 replies
15/16IB/hfi1: Add received request info to qp_statsdrivers/infiniband/hw/hfi1/qp.c+9 -20 replies
16/16IB/hfi1: Add opcode states to qp_statsdrivers/infiniband/hw/hfi1/qp.c+3 -10 replies

Reviews trailers per patch

14 of 15 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKaike WanMichael J. RuhlDennis DalessandroMike Marciniszyn
SeriesR-b
1/16
3/16R-b
4/16R-b
5/16R-b
6/16R-b
7/16R-b
8/16R-b
9/16R-b
10/16R-b
11/16R-b
12/16R-b
13/16R-b
14/16R-b
15/16R-b
16/16R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH for-next 00/16] IB/hfi1, qib, rdmavt: patches for next 08/21/2017

Hi Doug,

Another week another set of patches. I meant to send on Friday but was waiting for 0-day builds to complete. I still haven't gotten any notification, the service may be down but I wanted to get these on the list anyway for review. If I get any bad result I will reply but there is nothing particularly scary in here.

Content wise this is more clean ups including a patch for rdmavt to use the put_swqe/clear_mr_ref helpers that support was added for in qib/hfi1 previously.

We have some minor bug fixes as well. A large portion of the patch set is a clean up/refactoring exercise by Harish that I took because it makes the code cleaner and easier to read.

Note, one of the fixes from Mike is marked stable. I don't know if it's something that you want to take into this late of an RC so it may be best to just go to next and flow through the stable process.

Patches can can also be found in my GitHub repo at:
https://github.com/ddalessa/kernel/tree/for-4.14

---

Grzegorz Morys (1):
IB/hfi1: Ratelimit prints from sdma_interrupt

Harish Chegondi (7):
IB/hfi1: Clean up hfi1_user_exp_rcv_setup function
IB/hfi1: Clean up user_sdma_send_pkts() function
IB/hfi1: Clean up pin_vector_pages() function
IB/hfi1: Fix the bail out code in pin_vector_pages() function IB/hfi1: Remove duplicate definitions of num_user_pages() function IB/hfi1: Move structure definitions from user_exp_rcv.c to user_exp_rcv.h IB/hfi1: Move structure and MACRO definitions in user_sdma.c to user_sdma.h

Kaike Wan (1):
IB/hfi1: Add received request info to qp_stats

Kamenee Arumugam (3):
IB/qib: Remove unnecessary memory allocation for boardname IB/qib: Stricter bounds checking for copy and array access IB/hfi1: Fix whitespace alignment issue for MAD

Michael J. Ruhl (1):
IB/hfi1: Improve local kmem_cache_alloc performance

Mike Marciniszyn (3):
IB/rdmavt: Use rvt_put_swqe() in rvt_clear_mr_ref() IB/{qib,hfi1}: Avoid flow control testing for RDMA write operation IB/hfi1: Add opcode states to qp_stats

 drivers/infiniband/hw/hfi1/chip.c         |    4 
 drivers/infiniband/hw/hfi1/file_ops.c     |    2 
 drivers/infiniband/hw/hfi1/hfi.h          |    6 
 drivers/infiniband/hw/hfi1/mad.c          |    2 
 drivers/infiniband/hw/hfi1/qp.c           |   13 +
 drivers/infiniband/hw/hfi1/rc.c           |    3 
 drivers/infiniband/hw/hfi1/user_exp_rcv.c |  255 ++++++++++-------
 drivers/infiniband/hw/hfi1/user_exp_rcv.h |   34 ++
 drivers/infiniband/hw/hfi1/user_sdma.c    |  434 +++++++++--------------------
 drivers/infiniband/hw/hfi1/user_sdma.h    |  166 +++++++++++
 drivers/infiniband/hw/hfi1/verbs_txreq.c  |   11 -
 drivers/infiniband/hw/hfi1/vnic_sdma.c    |   13 -
 drivers/infiniband/hw/qib/qib_iba6120.c   |   20 -
 drivers/infiniband/hw/qib/qib_iba7220.c   |   22 +
 drivers/infiniband/hw/qib/qib_iba7322.c   |   40 +--
 drivers/infiniband/hw/qib/qib_init.c      |    1 
 drivers/infiniband/hw/qib/qib_mad.c       |    4 
 drivers/infiniband/hw/qib/qib_rc.c        |    4 
 drivers/infiniband/hw/qib/qib_ruc.c       |    6 
 drivers/infiniband/sw/rdmavt/qp.c         |    6 
 20 files changed, 556 insertions(+), 490 deletions(-)

--
-Denny
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html