Re: [PATCH bpf-next 0/2] nfp: bpf: improve offload checks

2018-10-16 Thread Alexei Starovoitov
On Tue, Oct 16, 2018 at 03:19:08PM -0700, Jakub Kicinski wrote: > Hi, > > this set adds check to make sure offload behaviour is correct. > First when atomic counters are used, we must make sure the map > does not already contain data we did not prepare for holding > atomics. > > Second patch doub

[PATCH bpf-next 0/2] nfp: bpf: improve offload checks

2018-10-16 Thread Jakub Kicinski
Hi, this set adds check to make sure offload behaviour is correct. First when atomic counters are used, we must make sure the map does not already contain data we did not prepare for holding atomics. Second patch double checks vNIC capabilities for program offload in case program is shared by mul