Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

About multiple core bpf execution #2

Open
hazelnutsgz opened this issue Feb 9, 2021 · 0 comments
Open

About multiple core bpf execution #2

hazelnutsgz opened this issue Feb 9, 2021 · 0 comments

Comments

@hazelnutsgz
Copy link

hazelnutsgz commented Feb 9, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant