public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Doug Ledford <dledford@redhat.com>,
	linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
	Christoph Hellwig <hch@lst.de>,
	Andrew Boyer <andrew.boyer@dell.com>,
	Dennis Dalessandro <dennis.dalessandro@intel.com>,
	Jonathan Toppins <jtoppins@redhat.com>,
	Alex Estrin <alex.estrin@intel.com>
Subject: Re: [PATCH 6/9] IB: Use dma_virt_ops instead of duplicating it
Date: Thu, 12 Jan 2017 15:17:51 +0200	[thread overview]
Message-ID: <20170112131751.GK20392@mtr-leonro.local> (raw)
In-Reply-To: <20170111005648.14988-7-bart.vanassche@sandisk.com>

[-- Attachment #1: Type: text/plain, Size: 1512 bytes --]

On Tue, Jan 10, 2017 at 04:56:45PM -0800, Bart Van Assche wrote:
> Additionally, switch from struct ib_dma_mapping_ops to struct
> dma_mapping_ops. Update the comments that referred to the source
> files removed by this patch.
>
> This patch eliminates one branch from every ib_dma_map_*() call.
>
> Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
> Cc: Christoph Hellwig <hch@lst.de>
> Cc: Andrew Boyer <andrew.boyer@dell.com>
> Cc: Dennis Dalessandro <dennis.dalessandro@intel.com>
> Cc: Jonathan Toppins <jtoppins@redhat.com>
> Cc: Alex Estrin <alex.estrin@intel.com>
> ---
>  drivers/infiniband/sw/rdmavt/Makefile |   2 +-
>  drivers/infiniband/sw/rdmavt/dma.c    | 198 ----------------------------------
>  drivers/infiniband/sw/rdmavt/dma.h    |  53 ---------
>  drivers/infiniband/sw/rdmavt/mr.c     |   8 +-
>  drivers/infiniband/sw/rdmavt/vt.c     |   5 +-
>  drivers/infiniband/sw/rdmavt/vt.h     |   1 -
>  drivers/infiniband/sw/rxe/Makefile    |   1 -
>  drivers/infiniband/sw/rxe/rxe_dma.c   | 183 -------------------------------
>  drivers/infiniband/sw/rxe/rxe_loc.h   |   2 -
>  drivers/infiniband/sw/rxe/rxe_verbs.c |   3 +-
>  include/rdma/ib_verbs.h               | 117 +++-----------------
>  11 files changed, 25 insertions(+), 548 deletions(-)
>  delete mode 100644 drivers/infiniband/sw/rdmavt/dma.c
>  delete mode 100644 drivers/infiniband/sw/rdmavt/dma.h
>  delete mode 100644 drivers/infiniband/sw/rxe/rxe_dma.c
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-01-12 13:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11  0:56 [PATCH 0/9] IB: Optimize DMA mapping Bart Van Assche
2017-01-11  0:56 ` [PATCH 3/9] dma: Add dma_virt_ops Bart Van Assche
2017-01-11  8:56   ` Christoph Hellwig
2017-01-12  0:07     ` Bart Van Assche
2017-01-11  0:56 ` [PATCH 4/9] IB/hf1: Remove DMA mapping code Bart Van Assche
2017-01-11  0:56 ` [PATCH 5/9] IB/qib: " Bart Van Assche
2017-01-12 13:15   ` Leon Romanovsky
2017-01-11  0:56 ` [PATCH 6/9] IB: Use dma_virt_ops instead of duplicating it Bart Van Assche
2017-01-12 13:17   ` Leon Romanovsky [this message]
2017-01-11  0:56 ` [PATCH 7/9] RDS: IB: Remove an unused structure member Bart Van Assche
2017-01-11  1:21   ` santosh.shilimkar
2017-01-11  0:56 ` [PATCH 8/9] IB: Convert ib_dma_*_coherent() argument type from u64 into dma_addr_t Bart Van Assche
2017-01-12 13:12   ` Leon Romanovsky
2017-01-11  0:56 ` [PATCH 9/9] treewide: Inline ib_dma_map_*() functions Bart Van Assche
2017-01-12 11:45   ` Sagi Grimberg
2017-01-12 13:09   ` Leon Romanovsky
2017-01-11  1:28 ` [PATCH 0/9] IB: Optimize DMA mapping santosh.shilimkar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170112131751.GK20392@mtr-leonro.local \
    --to=leon@kernel.org \
    --cc=alex.estrin@intel.com \
    --cc=andrew.boyer@dell.com \
    --cc=bart.vanassche@sandisk.com \
    --cc=dennis.dalessandro@intel.com \
    --cc=dledford@redhat.com \
    --cc=hch@lst.de \
    --cc=jtoppins@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox