Re: [PATCH for-upstream 1/1] RDMA/rxe: Replace netdev dev addr with raw_gid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




在 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





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux