public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Don Hiatt <don.hiatt-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH rdma-next v3 7/7] IB/core: Change wc.slid from 16 to 32 bits
Date: Tue, 08 Aug 2017 15:05:43 -0400	[thread overview]
Message-ID: <1502219143.3002.10.camel@redhat.com> (raw)
In-Reply-To: <1496943469-44017-8-git-send-email-don.hiatt-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

On Thu, 2017-06-08 at 13:37 -0400, Don Hiatt wrote:
> slid field in struct ib_wc is increased to 32 bits.
> This enables core components to use larger LIDs if needed.
> The user ABI is unchanged and return 16 bit values when queried.

Hi Don,

My comments here are not really about this particular patch, I just
grabbed it from the pile as one to respond to.  But my question is
this:

Multiple of these patch say the user ABI is unchanged and return 16 bit
values when queried.  What's your plan for a long term solution to
this?  Eventually, the user ABI will need to be extended to support
32bit LIDs, yes?  Or do you plan to try and hide this forever?

As for the kernel to user space driver API, I waffled a bit about
whether we shouldn't go ahead and return the 32bit value to the driver
and let it do the conversion to 16 bit for the user ABI, then decided
this method provides a cleaner means of supporting newer kernels with
older verbs OPA drivers and so didn't object, but it still leaves the
question about the long term plans here.

-- 
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

--
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

  parent reply	other threads:[~2017-08-08 19:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-08 17:37 [PATCH rdma-next v3 0/7] Add OPA extended LID support Don Hiatt
     [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 [this message]
     [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=1502219143.3002.10.camel@redhat.com \
    --to=dledford-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=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