Re: [PATCH] net/smc: add support for netdevice in containers.

From: Wen Gu
Date: Fri Sep 22 2023 - 05:58:19 EST




On 2023/9/22 16:58, Albert Huang wrote:
If the netdevice is within a container and communicates externally
through network technologies like VXLAN, we won't be able to find
routing information in the init_net namespace. To address this issue,
we need to add a struct net parameter to the smc_ib_find_route function.
This allow us to locate the routing information within the corresponding
net namespace, ensuring the correct completion of the SMC CLC interaction.

Signed-off-by: Albert Huang <huangjie.albert@xxxxxxxxxxxxx>
---

Hi Albert, please specify the tree (net or net-next) you want to send to in the subject.

Thanks.