On 9/25/20 5:00 PM, Jakub Kicinski wrote: unlikely((val & (COOKIE_LOCAL_BATCH - 1)) == 0)) { > > Can we reasonably assume we won't have more than 4k CPUs and just > statically divide this space by encoding CPU id in top bits? This might give some food to side channel attacks, since this would give an indication of cpu that allocated the id. Also, I hear that some distros enabled 8K cpus.
- [PATCH bpf-next 0/6] Various BPF helper improvements Daniel Borkmann
- [PATCH bpf-next 2/6] bpf, net: rework cookie gener... Daniel Borkmann
- Re: [PATCH bpf-next 2/6] bpf, net: rework cook... Eric Dumazet
- Re: [PATCH bpf-next 2/6] bpf, net: rework ... Daniel Borkmann
- Re: [PATCH bpf-next 2/6] bpf, net: rew... Eric Dumazet
- Re: [PATCH bpf-next 2/6] bpf, net... Daniel Borkmann
- Re: [PATCH bpf-next 2/6] bpf, net: rew... Jakub Kicinski
- Re: [PATCH bpf-next 2/6] bpf, net... Eric Dumazet
- Re: [PATCH bpf-next 2/6] bpf,... Jakub Kicinski
- Re: [PATCH bpf-next 2/6] ... Eric Dumazet
- [PATCH bpf-next 3/6] bpf: add redirect_neigh helpe... Daniel Borkmann
- Re: [PATCH bpf-next 3/6] bpf: add redirect_nei... David Ahern
- Re: [PATCH bpf-next 3/6] bpf: add redirect... Daniel Borkmann
- [PATCH bpf-next 1/6] bpf: add classid helper only ... Daniel Borkmann
- Re: [PATCH bpf-next 1/6] bpf: add classid help... Jakub Kicinski
- Re: [PATCH bpf-next 1/6] bpf: add classid ... Daniel Borkmann
- [PATCH bpf-next 5/6] bpf, selftests: use bpf_tail_... Daniel Borkmann
- Re: [PATCH bpf-next 5/6] bpf, selftests: use b... Maciej Fijalkowski