From: Jason Gunthorpe <jgg@ziepe.ca>
To: Sean Hefty <shefty@nvidia.com>
Cc: Eric Davis <eric.davis@broadcom.com>,
"sashiko-reviews@lists.linux.dev"
<sashiko-reviews@lists.linux.dev>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
Leon Romanovsky <leon@kernel.org>
Subject: Re: [PATCH rdma-next 02/13] RDMA/core: add the UET GID types
Date: Thu, 15 Oct 2026 16:54:08 -0300 [thread overview]
Message-ID: <20261015195408.GX14213@ziepe.ca> (raw)
In-Reply-To: <DS6PR12MB53456734E5A7CFFCDD7FBCCC0CBD9C2@DS6PR12MB534567.namprd12.prod.outlook.com>
On Thu, Oct 15, 2026 at 06:57:31PM +0000, Sean Hefty wrote:
> > On Thu, Oct 15, 2026 at 08:57:44AM -0700, Eric Davis wrote:
> > > On Wed, Oct 14, 2026 at 3:35 PM <sashiko-bot@kernel.org> wrote:
> > > > Sashiko AI review found 3 potential issue(s) to consider:
> > >
> > > Disagree with all three and no change planned. None of these paths
> > > runs on a UET port.
> > >
> > > A UET port's core_cap_flags are RDMA_CORE_CAP_PROT_UET_[UDP|IP] plus
> > > RDMA_CORE_CAP_ETH_AH. It has no IB_MAD, IB_CM, IB_SA or IB_MCAST
> > bit.
> > >
> > > > Does this explicitly fail Address Handle initialization for UET-only ports?
> > >
> > > Yes, deliberately. ib_init_ah_attr_from_wc() is called by the MAD
> > > agent, the CM, mad_rmpp, and user_mad. These all need IB_MAD, so none
> > > of them sees a completion from a UET-only port. The check is a guard
> > > as an unconnected peer is named through an extended address handle
> > > (patch 5) or the job's address table (patch 7), never from a WC.
> >
> > How much of this follows the work Sean did in the consortium? I thought he
> > had defined AHs?
>
> Eric and I worked closely. Most of the UEC work focused on the user-space interfaces, but the overall structure should be aligned.
>
> UEC defined an extended AH. ib_init_ah_attr_from_wc() could probably be extended to support UET, I don't think it would be used, however.
>
> > > > Could this cause incoming UET packets to be incorrectly mapped to a
> > > > RoCEv2 GID index, breaking the UET transport response?
> > >
> > > On a port that runs both RoCE and UET the MAD traffic is RoCE, so
> > > mapping it to RoCEv2 is correct.
> >
> > You will need seperate ROCE and UET ib_devices with the current state of
> > affairs, we don't support multi-protocol today.
>
> UEC intentionally considered multi-protocol devices, with a vendor deciding whether it would need to provide separate SW devices. E.g. using UET for MPI, but RoCE for storage. Protocol selection is via GID, same as RoCEv1 vs v2.
>
> What blocks multi-protocol support?
Principally I don't think we have the APIs to discover and link the
GUID to protocol to QP type appropriately..
Jason
next prev parent reply other threads:[~2026-10-15 19:54 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 22:21 [PATCH rdma-next 00/13] RDMA/core: Ultra Ethernet transport verbs Eric Davis via B4 Relay
2026-10-14 22:21 ` [PATCH rdma-next 01/13] RDMA/core: widen the uverbs object key Eric Davis via B4 Relay
2026-10-14 22:29 ` sashiko-bot
2026-10-14 22:21 ` [PATCH rdma-next 02/13] RDMA/core: add the UET GID types Eric Davis via B4 Relay
2026-10-14 22:35 ` sashiko-bot
2026-10-15 15:57 ` Eric Davis
2026-10-15 17:33 ` Jason Gunthorpe
2026-10-15 18:57 ` Sean Hefty
2026-10-15 19:54 ` Jason Gunthorpe [this message]
2026-10-15 21:14 ` Sean Hefty
2026-10-14 22:21 ` [PATCH rdma-next 03/13] RDMA/core: report the reliable unconnected device capabilities Eric Davis via B4 Relay
2026-10-14 22:30 ` sashiko-bot
2026-10-14 22:21 ` [PATCH rdma-next 04/13] RDMA/core: add the reliable unconnected queue pair type Eric Davis via B4 Relay
2026-10-14 22:43 ` sashiko-bot
2026-10-15 16:07 ` Eric Davis
2026-10-15 16:09 ` Eric Davis
2026-10-15 17:30 ` Jason Gunthorpe
2026-10-15 18:35 ` Doug Ledford
2026-10-14 22:21 ` [PATCH rdma-next 05/13] RDMA/core: extended address handle attributes Eric Davis via B4 Relay
2026-10-14 22:50 ` sashiko-bot
2026-10-15 16:15 ` Eric Davis
2026-10-15 17:30 ` Jason Gunthorpe
2026-10-14 22:21 ` [PATCH rdma-next 06/13] RDMA/core: query the semantics a queue pair type guarantees Eric Davis via B4 Relay
2026-10-14 22:34 ` sashiko-bot
2026-10-15 16:18 ` Eric Davis
2026-10-14 22:21 ` [PATCH rdma-next 07/13] RDMA/core: job and job key objects Eric Davis via B4 Relay
2026-10-14 22:36 ` sashiko-bot
2026-10-14 22:21 ` [PATCH rdma-next 08/13] RDMA/uverbs: factor out the queue pair attribute copy Eric Davis via B4 Relay
2026-10-14 22:30 ` sashiko-bot
2026-10-14 22:21 ` [PATCH rdma-next 09/13] RDMA/core: create a queue pair ready to send Eric Davis via B4 Relay
2026-10-14 22:39 ` sashiko-bot
2026-10-14 22:21 ` [PATCH rdma-next 10/13] RDMA/core: queue pair attributes for unconnected transports Eric Davis via B4 Relay
2026-10-14 22:41 ` sashiko-bot
2026-10-15 16:21 ` Eric Davis
2026-10-14 22:21 ` [PATCH rdma-next 11/13] RDMA/core: extended memory registration Eric Davis via B4 Relay
2026-10-14 22:36 ` sashiko-bot
2026-10-14 22:21 ` [PATCH rdma-next 12/13] RDMA/core: 64-bit memory keys Eric Davis via B4 Relay
2026-10-14 22:32 ` sashiko-bot
2026-10-14 22:21 ` [PATCH rdma-next 13/13] RDMA/core: attach a memory region to a queue pair Eric Davis via B4 Relay
2026-10-14 22:37 ` sashiko-bot
2026-10-14 23:57 ` [PATCH rdma-next 00/13] RDMA/core: Ultra Ethernet transport verbs Doug Ledford
2026-10-15 0:08 ` Jason Gunthorpe
2026-10-15 1:02 ` Doug Ledford
2026-10-15 17:29 ` Jason Gunthorpe
2026-10-15 18:22 ` Doug Ledford
2026-10-15 16:27 ` Eric Davis
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=20261015195408.GX14213@ziepe.ca \
--to=jgg@ziepe.ca \
--cc=eric.davis@broadcom.com \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=shefty@nvidia.com \
/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