在 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@xxxxxxxxx>
---
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