RE: [net-next 1/8] ice: use [sr]q.count when checking if queue is initialized

2018-10-01 Thread Keller, Jacob E
t; nhor...@redhat.com; sassm...@redhat.com; jogre...@redhat.com; > Venkataramanan, Anirudh > Subject: Re: [net-next 1/8] ice: use [sr]q.count when checking if queue is > initialized > > Hello! > > On 9/27/2018 7:21 PM, Jeff Kirsher wrote: > > > From: Jacob Keller &g

Re: [net-next 1/8] ice: use [sr]q.count when checking if queue is initialized

2018-09-28 Thread Sergei Shtylyov
Hello! On 9/27/2018 7:21 PM, Jeff Kirsher wrote: From: Jacob Keller When shutting down the controlqs, we check if they are initialized before we shut them down and destroy the lock. This is important, as it prevents attempts to access the lock of an already shutdown queue. Unfortunately, we

[net-next 1/8] ice: use [sr]q.count when checking if queue is initialized

2018-09-27 Thread Jeff Kirsher
From: Jacob Keller When shutting down the controlqs, we check if they are initialized before we shut them down and destroy the lock. This is important, as it prevents attempts to access the lock of an already shutdown queue. Unfortunately, we checked rq.head and sq.head as the value to determine