microsoft / ebpf-for-windows

eBPF implementation that runs on top of Windows
MIT License
2.94k stars 240 forks source link

Support loading multiple instances of a native program. #2667

Open saxena-anurag opened 1 year ago

saxena-anurag commented 1 year ago

Describe the feature you'd like supported

Currently, eBPF program(s) from a native module can be loaded only once. This is because of a restriction that a driver can only be loaded once in the kernel.

Proposed solution

Add support in eBPF so that native eBPF programs can be loaded multiple times using the same driver file in the same way programs can be loaded in JIT or INTERPRET mode.

Additional context

No response

shankarseal commented 1 year ago

Assigning this to @rectified95

lmb commented 3 months ago

Spoke with @jrfastab, in the short term we can make do with this limitation, but medium term it will hinder the ability to deliver.