ibm-s390-linux / smc-tools

Tools for use with AF_SMC sockets
Eclipse Public License 1.0
19 stars 14 forks source link

smc_run.bpf: An eBPF implemented smc_run with IPPROTO_SMC #10

Open D-Wythe opened 2 months ago

D-Wythe commented 2 months ago

Provide a tool based on ebpf to enable IPPROTO_SMC.

smc_run.bpf An eBPF implemented smc_run based on IPPROTO_SMC:

  1. Support to transparent replacement based on command (Just like smc_run).
  2. Supprot to transparent replacement based on pid configuration. And supports the inheritance of this capability between parent and child processes.
  3. Support to transparent replacement based on per netns configuration.

Usage: smc_run.bpf COMMAND Usage: smc_run.bpf [-h] [-v] [-s [load|unload]] [-p pid] [-n 0|1] Usage: export SMC_RUN_BPF=1; smc_run COMMAND