From: Leon Romanovsky <leon@kernel.org>
To: Tim Menninger <tmenninger@everpuredata.com>
Cc: bharat@chelsio.com, jgg@ziepe.ca, linux-rdma@vger.kernel.org,
netdev@vger.kernel.org, dsahern@kernel.org, idosch@nvidia.com,
slingappa@everpuredata.com, rpatil@everpuredata.com
Subject: Re: [PATCH] RDMA/core: Use the CM source port in IP route lookups
Date: Thu, 3 Dec 2026 22:10:26 +0200 [thread overview]
Message-ID: <20261203201026.GB31440@unreal> (raw)
In-Reply-To: <20261203151704.2171727-1-tmenninger@everpuredata.com>
On Thu, Dec 03, 2026 at 03:17:04PM +0000, Tim Menninger wrote:
> Hi Leon,
>
> > I don't have either.
> > ---- from AI :
> > Chelsio IPv6 iWARP has a separate connect-time failure path. With two separate adapters,
> > CM can select one adapter using the source port. cxgb_find_route6() repeats the lookup
> > with port zero and rejects an egress belonging to the other adapter. c4iw_connect()
> > then returns -EHOSTUNREACH. I reproduced the routing mismatch in a network namespace
> > and verified the error path in source. A hardware connect test remains outstanding
> > -----------
>
> I looked into the Chelsio mismatch further, and it is a pre-existing
> issue rather than something specific to the source-port change.
> Replaying both lookups with "ip route get" over two-way ECMP, treating
> each port as a separate adapter, the IPv4 lookups disagreed for 93 of
> 200 connections before the change and 97 of 200 after. The IPv6 lookups
> were all or nothing per destination before, with some destinations
> disagreeing for every connection, and the source port makes it per
> connection. So I understand the regression concern for IPv6.
>
> I have a candidate fix that retries the lookup restricted to the
> adapter's own ports, but it raises questions around policy routing, VLAN
> interfaces and the iSCSI target, which shares the libcxgb helpers. I
> also don't have Chelsio hardware to test it.
>
> Would you be open to handling the Chelsio lookup separately? If so, I'll
> send v2 with the IPv6 source address fix, a selftest for it and the
> source port change.
Yes, let's handle Chelsio separately, since none of us can test it.
Thanks
>
> Adding Bharat for the Chelsio side.
>
> Thanks,
> Tim
>
next prev parent reply other threads:[~2026-12-03 20:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 19:36 [PATCH] RDMA/core: Use the CM source port in IP route lookups Tim Menninger
2026-11-30 19:44 ` sashiko-bot
2026-12-02 11:18 ` Leon Romanovsky
2026-12-02 14:43 ` tmenninger
2026-12-03 12:19 ` Leon Romanovsky
2026-12-03 15:17 ` Tim Menninger
2026-12-03 20:10 ` Leon Romanovsky [this message]
2026-12-03 23:53 ` tmenninger
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=20261203201026.GB31440@unreal \
--to=leon@kernel.org \
--cc=bharat@chelsio.com \
--cc=dsahern@kernel.org \
--cc=idosch@nvidia.com \
--cc=jgg@ziepe.ca \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rpatil@everpuredata.com \
--cc=slingappa@everpuredata.com \
--cc=tmenninger@everpuredata.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 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.