mbox series

[for-next,0/2] IB/hfi1: Clean up SGE usage

Message ID 20190124030633.25425.94010.stgit@scvm10.sc.intel.com (mailing list archive)
Headers show
Series IB/hfi1: Clean up SGE usage | expand

Message

Dennis Dalessandro Jan. 24, 2019, 3:08 a.m. UTC
With the move of the SGE state helper routines into rdmavt we can now go ahead
and clean up somne of the open coded sge sizing and usage. Here are two patches
one that do just that.

---

Michael J. Ruhl (2):
      IB/{hfi1,qib}: Cleanup open coded sge sizing
      IB/{hfi1,qib,rvt} Cleanup open coded sge usage


 drivers/infiniband/hw/hfi1/ud.c       |   24 ++----------------------
 drivers/infiniband/hw/hfi1/verbs.c    |   12 ++----------
 drivers/infiniband/hw/qib/qib_sdma.c  |   26 ++------------------------
 drivers/infiniband/hw/qib/qib_ud.c    |    6 +-----
 drivers/infiniband/hw/qib/qib_verbs.c |   18 +++---------------
 drivers/infiniband/sw/rdmavt/qp.c     |   26 ++------------------------
 6 files changed, 12 insertions(+), 100 deletions(-)

--
-Denny

Comments

Doug Ledford Jan. 30, 2019, 5:04 p.m. UTC | #1
On Wed, 2019-01-23 at 19:08 -0800, Dennis Dalessandro wrote:
> With the move of the SGE state helper routines into rdmavt we can now go ahead
> and clean up somne of the open coded sge sizing and usage. Here are two patches
> one that do just that.
> 
> ---
> 
> Michael J. Ruhl (2):
>       IB/{hfi1,qib}: Cleanup open coded sge sizing
>       IB/{hfi1,qib,rvt} Cleanup open coded sge usage
> 
> 
>  drivers/infiniband/hw/hfi1/ud.c       |   24 ++----------------------
>  drivers/infiniband/hw/hfi1/verbs.c    |   12 ++----------
>  drivers/infiniband/hw/qib/qib_sdma.c  |   26 ++------------------------
>  drivers/infiniband/hw/qib/qib_ud.c    |    6 +-----
>  drivers/infiniband/hw/qib/qib_verbs.c |   18 +++---------------
>  drivers/infiniband/sw/rdmavt/qp.c     |   26 ++------------------------
>  6 files changed, 12 insertions(+), 100 deletions(-)
> 
> --
> -Denny

Thanks, applied to for-next.