Re: [PATCHv3 0/8] Fix the problem that rxe can not work in net namespace

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

 




在 2023/4/13 5:01, Mark Lehrer 写道:
the fabrics device and writing the host NQN etc.  Is there an easy way
to prove that rdma_resolve_addr is working from userland?
Actually I meant "is there a way to prove that the kernel
rdma_resolve_addr() works with netns?"

I think rdma_resolve_addr can work with netns because rdma on mlx5 can work well with netns.

I do not delve into the source code. But IMO, this function should be used in rdma on mlx5.


It seems like this is the real problem.  If we run commands like nvme
discover & nvme connect within the netns context, the system will use
the non-netns IP & RDMA stacks to connect.  As an aside - this seems
like it would be a major security issue for container systems, doesn't
it?

Do you make tests nvme + mlx5 + net ns in your host? Can it work?

Thanks

Zhu Yanjun


I'll investigate to see if the fabrics module & nvme-cli have a way to
set and use the proper netns context.

Thanks,
Mark



[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