Re: [PATCH net-next 0/2] Introduce IPPROTO_SMC

D. Wythe
2024-05-10T09:14:20Z

On 5/10/24 12:12 PM, D. Wythe wrote:
> From: "D. Wythe" <alibuda@linux.alibaba.com>
>
> This patch allows to create smc socket via AF_INET,
> similar to the following code,
>
> /* create v4 smc sock */
> v4 = socket(AF_INET, SOCK_STREAM, IPPROTO_SMC);

A eBPF version of smc_run is also available here:

https://github.com/D-Wythe/smc-tools/tree/ipproto_smc

You can test IPPROTO_SMC by script:

smc_run.pid COMMAND

While you can still test AF_SMC by script:

smc_run COMMAND

D. Wythe