tbpoc-bpf
tbpoc-bpf copied to clipboard
About multiple core bpf execution
I am a newbie to bpf and TC, I was wondering if
-
When multiple cores are running the same ebpf program on ingress, let's say,
int cls_entry(struct __sk_buff *skb)
, would this introduce any troubles for updating of thebpf_elf_map
? -
Would updated_state.r1 = tnow - B or tmin = tnow - B; make any sense? (given the assumption that the timestamp of new packets arriving after this bpf execution would be always larger than
tnow
)
Thanks.