tbpoc-bpf icon indicating copy to clipboard operation
tbpoc-bpf copied to clipboard

About multiple core bpf execution

Open hazelnutsgz opened this issue 4 years ago • 0 comments

I am a newbie to bpf and TC, I was wondering if

  1. 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 the bpf_elf_map?

  2. 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.

hazelnutsgz avatar Feb 09 '21 08:02 hazelnutsgz