From: Zhu Yanjun <yanjun.zhu@linux.dev>
To: Leon Romanovsky <leon@kernel.org>
Cc: zyjzyj2000@gmail.com, jgg@ziepe.ca, linux-rdma@vger.kernel.org
Subject: Re: [PATCH for-upstream 1/1] RDMA/rxe: Replace netdev dev addr with raw_gid
Date: Sun, 2 Mar 2025 18:05:59 +0100 [thread overview]
Message-ID: <bd748914-1add-46b2-ab36-c005518ab4f0@linux.dev> (raw)
In-Reply-To: <20250302123915.GE1539246@unreal>
在 2025/3/2 13:39, Leon Romanovsky 写道:
> On Sat, Mar 01, 2025 at 08:33:51PM +0100, Zhu Yanjun wrote:
>> Because TUN device does not have dev_addr, but a gid in rdma is needed,
>> as such, a raw_gid is generated to act as the gid. The similar commit
>> also exists in SIW. This commit learns from the similar commit
>> bad5b6e34ffb ("RDMA/siw: Fabricate a GID on tun and loopback devices")
>> in SIW.
>>
>> Fixes: 2ac5415022d1 ("RDMA/rxe: Remove the direct link to net_device")
>> Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
>> ---
>> drivers/infiniband/sw/rxe/rxe.c | 20 ++++----------------
>> drivers/infiniband/sw/rxe/rxe_verbs.c | 2 +-
>> drivers/infiniband/sw/rxe/rxe_verbs.h | 4 +++-
>> 3 files changed, 8 insertions(+), 18 deletions(-)
> This patch doesn't apply. It should be based on rdma-rc or rdma-next.
Got you. I will send out a new patch for rdma-rc or rdma-next.
Best Regards,
Zhu Yanjun
>
> Thanks
--
Best Regards,
Yanjun.Zhu
prev parent reply other threads:[~2025-03-02 17:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-01 19:33 [PATCH for-upstream 1/1] RDMA/rxe: Replace netdev dev addr with raw_gid Zhu Yanjun
2025-03-02 12:39 ` Leon Romanovsky
2025-03-02 17:05 ` Zhu Yanjun [this message]
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=bd748914-1add-46b2-ab36-c005518ab4f0@linux.dev \
--to=yanjun.zhu@linux.dev \
--cc=jgg@ziepe.ca \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=zyjzyj2000@gmail.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