Re: [PATCH bpf-next v2 1/8] bpf: offload: don't require rtnl for dev list manipulation

2017-12-26 Thread Kirill Tkhai
Hi, Jakub, On 22.12.2017 00:01, Jakub Kicinski wrote: > We don't need the RTNL lock for all operations on offload state. > We only need to hold it around ndo calls. The device offload > initialization doesn't require it. The soon-to-come querying > of the offload info will only need it partially

[PATCH bpf-next v2 1/8] bpf: offload: don't require rtnl for dev list manipulation

2017-12-21 Thread Jakub Kicinski
We don't need the RTNL lock for all operations on offload state. We only need to hold it around ndo calls. The device offload initialization doesn't require it. The soon-to-come querying of the offload info will only need it partially. We will also be able to remove the waitqueue in following pa