From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796067874; b=rF2YqiUQFf17YkgWvdlKoEkFFD3ZYmgRYVD7vcKz+DRSOZ7sXnJ86sOqKE0UlITcnItG R/JRh+leVY2AvALcO4f4bTYPYSIhmtimb2T3C8A1tK9VYjHQm3+I58/VdAH7au62QWOv1 I/VpbpHe+zldclieb4IF301zORgVm+hGbNXdLLpuBVA1Swt6vVf/rbbwd7zoeTWiwYtQj 2RcyrnEtv7XIfuDyZPSvx/5MvMmCn0xn3FarqcHxDTz60ZYXQCpj4F+dE0qzAmYcJMsYJ k53QylssQEKgIZ5Cskji7wvt5wMxLAjPBiIkRQI7eaAlqMg2J2AEoknsddTGEbhfz/w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796067874; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=JLnG61qUB2K1GNbqWYefsn9DRNS1DOiKiecFiAblq3o=; b=5iYiyorRdobKq/o4Jy3bhHpOWVEyT0mGi6ObpfOZ6EX9vqBgYLSoXYak8Cc3yGh6cW0g V/3hUvZKUh64bEC161rqohw4e1tIkAz9giSOZboUqX9VmcX818SfggtbE5kCk/LAOpeXa m9w2wnRRFqtK8+2uq7R6d+4WHf+P7SpVkQLHeS2zqv5lFjkG/XMHejCdbFEvcSwwJn7ej zUnCDNiFr2BIbB+Lw7OOCbm6m7XRiVa3hwVLCuTycte7wJY8XxfxPEGGyNrl3qodBedfE HNZEUlOj3o5UDxcXfogP5sL9YNc4FI4KgIJxRZE8uEIs1oJWTTogAeaQw2xwFBwDrzA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="bUTKR/v5"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32A3F606A320 for ; Mon, 30 Nov 2026 19:44:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bUTKR/v5 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A02D1F00896; Mon, 30 Nov 2026 19:44:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796067873; bh=JLnG61qUB2K1GNbqWYefsn9DRNS1DOiKiecFiAblq3o=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=bUTKR/v5zY6R2x/ti3LW17k8rM48PUNDHEowrotPs2gbLmAJQRzGtjLm5Vab3+iS1 ruAUl4yfczvzAfsZG28SgJZdDzwlnnO6erFPSRY351KCnrgJlSQLVpI2Zj6TLnWK0z GZFtvqwhOCjN4DzMYxc9ErgiNbl25YCERItVdx9M05pja6TM5tULJtktGwIhXYzikF eiV+VEnrJe43g0MmN2aVUP+VJzTqt1PlCJtj03Hecd9wysn9lFzZ8I7DGO074tQBNs tNH1tfCBe2S2PCQexWgioPO1DYq6GGwRbNIf39avxX3XFI87QU97CdvpdjYGPpvuzw Ka5WywQ+QKMRQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] RDMA/core: Use the CM source port in IP route lookups Reply-To: sashiko-reviews@lists.linux.dev To: "Tim Menninger" Cc: linux-rdma@vger.kernel.org In-Reply-To: <20261130193648.3170657-1-tmenninger@everpuredata.com> References: <20261130193648.3170657-1-tmenninger@everpuredata.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 30 Nov 2026 19:44:33 +0000 X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > From: Shiva Lingappa >=20 > addr4_resolve() and addr6_resolve() leave the flow's source port zero. > With wildcard source addresses and identical routing constraints, > connections to the same destination therefore select the same ECMP > nexthop, even when fib_multipath_hash_policy includes L4 ports, leaving > the other paths idle. >=20 > Populate fl4_sport/fl6_sport from the source sockaddr, which already > contains the CM-assigned port. This provides per-connection entropy > with hash policy 1, or policy 3 with the source-port field selected. > The normal RoCE CM route setup retains the selected interface and > destination MAC. >=20 > This is the CM port-space port, not the RoCEv2 UDP source port, so it > [ ... ] >=20 > Reported-by: Rohit Patil > Signed-off-by: Shiva Lingappa > Co-developed-by: Tim Menninger > Signed-off-by: Tim Menninger Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261130193648.3170= 657-1-tmenninger@everpuredata.com?part=3D1