From: Jason Gunthorpe <jgg-uk2M96/98Pc@public.gmane.org>
To: Don Hiatt <don.hiatt-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>,
Mike Marciniszyn
<mike.marciniszyn-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2/2] IB/hfi1: Do not warn on lid conversions for OPA
Date: Mon, 4 Dec 2017 11:04:08 -0700 [thread overview]
Message-ID: <20171204180408.GC18059@ziepe.ca> (raw)
In-Reply-To: <caedb116-7e5a-5461-0c72-500b56d5b6be-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
On Mon, Dec 04, 2017 at 09:28:07AM -0800, Don Hiatt wrote:
>
>
> On 12/4/2017 4:13 AM, Greg KH wrote:
> >On Wed, Nov 29, 2017 at 11:43:24AM -0700, Jason Gunthorpe wrote:
> >>On Wed, Nov 29, 2017 at 07:59:49AM -0500, Mike Marciniszyn wrote:
> >>>From: Don Hiatt <don.hiatt-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> >>>
> >>>Upstream commit 4988be5813ff2afdc0d8bfa315ef34a577d3efbf.
> >>>
> >>>On OPA devices opa_local_smp_check will receive 32Bit LIDs when the LID
> >>>is Extended. In such cases, it is okay to lose the upper 16 bits of the
> >>>LID as this information is obtained elsewhere. Do not issue a warning
> >>>when calling ib_lid_cpu16() in this case by masking out the upper 16Bits.
> >>The concept for the 32 bit lids was to keep it 32 bit inside the
> >>kernel, ingress_key_table_fail puts the lid into
> >>err_info_constraint.slid which is already 32 bits, so this cannot be
> >>the right place for this.
> >>
> >>These truncations should only appear at the uapi boundary.
> >Ok, but that's what the change in Linus's tree does. If you object to
> >that, please fix it there :)
> Hi Jason,
>
> I have changes for this that I can submit as a follow on patch,
> please let me know if this is how you'd like to proceed.
Yes, please send a followup patch to mainline
Jason
--
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 prev parent reply other threads:[~2017-12-04 18:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-29 12:59 [PATCH 1/2] IB/core: Do not warn on lid conversions for OPA Mike Marciniszyn
2017-11-29 12:59 ` Mike Marciniszyn
[not found] ` <20171129125943.31113.29038.stgit-K+u1se/DcYrLESAwzcoQNrvm/XP+8Wra@public.gmane.org>
2017-11-29 12:59 ` [PATCH 2/2] IB/hfi1: " Mike Marciniszyn
2017-11-29 12:59 ` Mike Marciniszyn
[not found] ` <20171129125948.31113.59826.stgit-K+u1se/DcYrLESAwzcoQNrvm/XP+8Wra@public.gmane.org>
2017-11-29 18:43 ` Jason Gunthorpe
2017-11-29 18:43 ` Jason Gunthorpe
2017-12-04 12:13 ` Greg KH
2017-12-04 17:28 ` Don Hiatt
[not found] ` <caedb116-7e5a-5461-0c72-500b56d5b6be-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-12-04 18:04 ` Jason Gunthorpe [this message]
2017-11-29 18:17 ` [PATCH 1/2] IB/core: " Parav Pandit
2017-11-29 18:17 ` Parav Pandit
[not found] ` <VI1PR0502MB30086F9ADA549CD6C6F550AFD13B0-o1MPJYiShExKsLr+rGaxW8DSnupUy6xnnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-12-04 12:11 ` Greg KH
2017-12-04 12:11 ` Greg KH
[not found] ` <20171204121152.GB18589-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2017-12-04 17:28 ` Don Hiatt
2017-12-04 17:28 ` Don Hiatt
2017-12-05 4:04 ` Parav Pandit
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=20171204180408.GC18059@ziepe.ca \
--to=jgg-uk2m96/98pc@public.gmane.org \
--cc=don.hiatt-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mike.marciniszyn-ral2JQCrhuEAvxtiuMwx3w@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.