Re: [PATCH net-next v5 4/5] net/smc: Dynamic control auto fallback by socket options

D. Wythe
2022-02-09T06:41:32Z

Some of our servers have different service types on different ports.
A global switch cannot control different service ports individually in
this case。In fact, it has nothing to do with using netlink or not.
Socket options is the first solution comes to my mind in that case，I
don't know if there is any other better way。

Looks for you suggestions.
Thanks.

在 2022/2/9 上午1:08, Karsten Graul 写道:
> On 08/02/2022 13:53, D. Wythe wrote:
>> From: "D. Wythe" <alibuda@linux.alibaba.com>
>>
>> This patch aims to add dynamic control for SMC auto fallback, since we
>> don't have socket option level for SMC yet, which requires we need to
>> implement it at the same time.
>
> In your response to the v2 version of this series you wrote:
>
>> After some trial and thought, I found that the scope of netlink control
>> is too large, we should limit the scope to socket. Adding a socket option
>> may be a better choice, what do you think?
>
> I want to understand why this socket option is required, who needs it and why.
> What were your trials and thoughts, did you see any problems with the global
> switch via the netlink interface?