Re: [net-next 08/13] net/mlx5e: Protect tc flows hashtable with rcu

2019-07-30 Thread Saeed Mahameed
On Tue, 2019-07-30 at 12:37 -0400, Willem de Bruijn wrote: > On Tue, Jul 30, 2019 at 12:16 PM Willem de Bruijn > wrote: > > On Mon, Jul 29, 2019 at 7:50 PM Saeed Mahameed > > wrote: > > > From: Vlad Buslov > > > > > > In order to remove dependency on rtnl lock, access to tc flows > > > hashtabl

Re: [net-next 08/13] net/mlx5e: Protect tc flows hashtable with rcu

2019-07-30 Thread Willem de Bruijn
On Tue, Jul 30, 2019 at 12:16 PM Willem de Bruijn wrote: > > On Mon, Jul 29, 2019 at 7:50 PM Saeed Mahameed wrote: > > > > From: Vlad Buslov > > > > In order to remove dependency on rtnl lock, access to tc flows hashtable > > must be explicitly protected from concurrent flows removal. > > > > Ex

Re: [net-next 08/13] net/mlx5e: Protect tc flows hashtable with rcu

2019-07-30 Thread Willem de Bruijn
On Mon, Jul 29, 2019 at 7:50 PM Saeed Mahameed wrote: > > From: Vlad Buslov > > In order to remove dependency on rtnl lock, access to tc flows hashtable > must be explicitly protected from concurrent flows removal. > > Extend tc flow structure with rcu to allow concurrent parallel access. Use > r