From: Don Hiatt <don.hiatt-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH rdma-next v3 0/7] Add OPA extended LID support
Date: Thu, 8 Jun 2017 13:37:42 -0400 [thread overview]
Message-ID: <1496943469-44017-1-git-send-email-don.hiatt@intel.com> (raw)
This patch series primarily increases sizes of variables that hold
lid values from 16 to 32 bits. Additionally, it adds a check in
the IB mad stack to verify a properly formatted MAD when OPA
extended LIDs are used.
Changes from v2:
---------------
* Remove 'IB/mad: Ensure DR MADs are correctly specified when using
OPA devices' as this will be handled in a lower layer.
Changes from v1:
---------------
* Remove extraneous slid set.
* Replace slid casts with helper function.
* Return default subnet prefix on rdma_ah_conv_opa_to_ib() failure.
The patches are origanized as follows:
* Patch 1 converts an OPA ah_attr to an IB ah_attr when
copying from kernel to user. Since OPA ah_attr is only defined
in the kernel, the function takes care of adding OPA GIDs
that contain the extended LID before copying to user.
* Patch 2 increases the lid and sm_lid variables in srpt
to 32 bits.
* Patch 3 increases the local_lid variable in IPoIB to 32
bits.
* Patch 4 increases the slid variable in MAD RMPP to 32 bits.
* Patch 5 increases the lid field in struct ib_port_attr from
16 to 32 bits.
* Patch 6 increases the sm_lid field in struct ib_port_attr
from 16 to 32 bits.
* Patch 7 increases the slid field in struct ib_wc from 16
to 32 bits.
Dasaratharaman Chandramouli (6):
IB/core: Convert ah_attr from OPA to IB when copying to user
IB/srpt: Increase lid and sm_lid to 32 bits
IB/IPoIB: Increase local_lid to 32 bits
IB/mad: Change slid in RMPP recv from 16 to 32 bits
IB/core: Change port_attr.lid size from 16 to 32 bits
IB/core: Change port_attr.sm_lid from 16 to 32 bits
Don Hiatt (1):
IB/core: Change wc.slid from 16 to 32 bits
drivers/infiniband/core/cm.c | 4 +--
drivers/infiniband/core/core_priv.h | 1 +
drivers/infiniband/core/mad_rmpp.c | 2 +-
drivers/infiniband/core/ucm.c | 2 +-
drivers/infiniband/core/ucma.c | 10 ++++---
drivers/infiniband/core/user_mad.c | 2 +-
drivers/infiniband/core/uverbs_cmd.c | 19 ++++++++----
drivers/infiniband/core/uverbs_marshall.c | 48 +++++++++++++++++++++++++++----
drivers/infiniband/hw/hfi1/mad.c | 2 +-
drivers/infiniband/hw/mlx4/alias_GUID.c | 2 +-
drivers/infiniband/hw/mlx4/mad.c | 8 +++---
drivers/infiniband/hw/mlx5/mad.c | 2 +-
drivers/infiniband/hw/mthca/mthca_cmd.c | 4 +--
drivers/infiniband/hw/mthca/mthca_mad.c | 4 +--
drivers/infiniband/sw/rdmavt/cq.c | 2 +-
drivers/infiniband/ulp/ipoib/ipoib.h | 2 +-
drivers/infiniband/ulp/srpt/ib_srpt.h | 4 +--
include/rdma/ib_marshall.h | 6 ++--
include/rdma/ib_verbs.h | 18 ++++++++++--
include/rdma/opa_addr.h | 3 +-
20 files changed, 105 insertions(+), 40 deletions(-)
--
1.8.3.1
--
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-06-08 17:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-08 17:37 Don Hiatt [this message]
[not found] ` <1496943469-44017-1-git-send-email-don.hiatt-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-06-08 17:37 ` [PATCH rdma-next v3 1/7] IB/core: Convert ah_attr from OPA to IB when copying to user Don Hiatt
2017-06-08 17:37 ` [PATCH rdma-next v3 2/7] IB/srpt: Increase lid and sm_lid to 32 bits Don Hiatt
2017-06-08 17:37 ` [PATCH rdma-next v3 3/7] IB/IPoIB: Increase local_lid " Don Hiatt
2017-06-08 17:37 ` [PATCH rdma-next v3 4/7] IB/mad: Change slid in RMPP recv from 16 " Don Hiatt
2017-06-08 17:37 ` [PATCH rdma-next v3 5/7] IB/core: Change port_attr.lid size " Don Hiatt
2017-06-08 17:37 ` [PATCH rdma-next v3 6/7] IB/core: Change port_attr.sm_lid " Don Hiatt
2017-06-08 17:37 ` [PATCH rdma-next v3 7/7] IB/core: Change wc.slid " Don Hiatt
[not found] ` <1496943469-44017-8-git-send-email-don.hiatt-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-08-08 19:05 ` Doug Ledford
[not found] ` <1502219143.3002.10.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-08-09 16:46 ` Don Hiatt
[not found] ` <772a7324-5d42-3259-7881-483722fc1f2e-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-08-09 17:18 ` Doug Ledford
2017-08-11 15:56 ` [PATCH rdma-next v3 0/7] Add OPA extended LID support 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=1496943469-44017-1-git-send-email-don.hiatt@intel.com \
--to=don.hiatt-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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