From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Mel Gorman
<mgorman-3eNAlZScCAx27rWaFMvyedHuzzzSOjJt@public.gmane.org>,
Jiri Kosina <jikos-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
Dennis Dalessandro
<dennis.dalessandro-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: [PATCH rdma-next V1 0/4] Add support of NOIO allocations to IPoIB
Date: Tue, 23 May 2017 14:38:12 +0300 [thread overview]
Message-ID: <20170523113816.32657-1-leon@kernel.org> (raw)
Hi Doug,
These patches adds native support to NOIO allocations during
create QP for IPoIB.
In contrast to the commit 09b93088d750 ("IB: Add a QP creation flag
to use GFP_NOIO allocations"), which added specific QP create flag,
this series uses standard memalloc_noio_* calls to mark GFP_NOIO
for all allocations paths below.
This change allows to all drivers benefit from this facitlity
and not only mlx4 and qib. As a nice outcome, there is a lot
simplification in the mlx4 and qib drivers by removing need to
carry GFP flags.
Thanks
Cc: Mel Gorman <mgorman-3eNAlZScCAx27rWaFMvyedHuzzzSOjJt@public.gmane.org>
Cc: Jiri Kosina <jikos-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: Dennis Dalessandro <dennis.dalessandro-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Changelog from v0:
* Forgot to add hfi1
Leon Romanovsky (4):
IB/IPoIB: Convert IPoIB to memalloc_noio_* calls
IB/{rdmavt, qib, hfi1}: Remove gfp flags argument
{net, IB}/mlx4: Remove gfp flags argument
IB/core: Remove NOIO QP create flag
drivers/infiniband/hw/hfi1/qp.c | 7 ++--
drivers/infiniband/hw/hfi1/qp.h | 3 +-
drivers/infiniband/hw/mlx4/cq.c | 6 +--
drivers/infiniband/hw/mlx4/mlx4_ib.h | 1 -
drivers/infiniband/hw/mlx4/qp.c | 40 ++++++++----------
drivers/infiniband/hw/mlx4/srq.c | 8 ++--
drivers/infiniband/hw/qib/qib_qp.c | 15 ++++---
drivers/infiniband/hw/qib/qib_verbs.h | 4 +-
drivers/infiniband/sw/rdmavt/qp.c | 48 ++++++----------------
drivers/infiniband/ulp/ipoib/ipoib_cm.c | 16 ++++----
drivers/net/ethernet/mellanox/mlx4/alloc.c | 29 +++++++------
drivers/net/ethernet/mellanox/mlx4/cq.c | 4 +-
drivers/net/ethernet/mellanox/mlx4/en_rx.c | 6 +--
drivers/net/ethernet/mellanox/mlx4/en_tx.c | 2 +-
drivers/net/ethernet/mellanox/mlx4/icm.c | 7 ++--
drivers/net/ethernet/mellanox/mlx4/icm.h | 3 +-
drivers/net/ethernet/mellanox/mlx4/mlx4.h | 4 +-
drivers/net/ethernet/mellanox/mlx4/mr.c | 17 ++++----
drivers/net/ethernet/mellanox/mlx4/qp.c | 20 ++++-----
.../net/ethernet/mellanox/mlx4/resource_tracker.c | 4 +-
drivers/net/ethernet/mellanox/mlx4/srq.c | 4 +-
include/linux/mlx4/device.h | 10 ++---
include/rdma/ib_verbs.h | 2 +-
include/rdma/rdma_vt.h | 5 +--
24 files changed, 112 insertions(+), 153 deletions(-)
--
2.12.2
--
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
next reply other threads:[~2017-05-23 11:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-23 11:38 Leon Romanovsky [this message]
[not found] ` <20170523113816.32657-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-05-23 11:38 ` [PATCH rdma-next V1 1/4] IB/IPoIB: Convert IPoIB to memalloc_noio_* calls Leon Romanovsky
[not found] ` <20170523113816.32657-2-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-05-29 16:44 ` Dennis Dalessandro
[not found] ` <6f8f8d7b-40ba-f0ec-77cd-3c5b20dead23-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-05-29 17:01 ` Leon Romanovsky
2017-05-23 11:38 ` [PATCH rdma-next V1 2/4] IB/{rdmavt, qib, hfi1}: Remove gfp flags argument Leon Romanovsky
[not found] ` <20170523113816.32657-3-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-06-02 19:21 ` Dennis Dalessandro
2017-05-23 11:38 ` [PATCH rdma-next V1 3/4] {net, IB}/mlx4: " Leon Romanovsky
2017-05-23 11:38 ` [PATCH rdma-next V1 4/4] IB/core: Remove NOIO QP create flag Leon Romanovsky
2017-06-19 13:35 ` [PATCH rdma-next V1 0/4] Add support of NOIO allocations to IPoIB Leon Romanovsky
2017-07-22 17:08 ` Doug Ledford
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=20170523113816.32657-1-leon@kernel.org \
--to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=dennis.dalessandro-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=jikos-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mgorman-3eNAlZScCAx27rWaFMvyedHuzzzSOjJt@public.gmane.org \
--cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.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;
as well as URLs for NNTP newsgroup(s).