Re: [PATCH net] ionic: centralize queue reset code

2020-07-07 Thread Shannon Nelson
On 7/7/20 9:46 AM, Jakub Kicinski wrote: On Tue, 7 Jul 2020 09:10:38 -0700 Shannon Nelson wrote: On 7/6/20 10:33 AM, Jakub Kicinski wrote: On Thu, 2 Jul 2020 16:39:17 -0700 Shannon Nelson wrote: The queue reset pattern is used in a couple different places, only slightly different from each ot

Re: [PATCH net] ionic: centralize queue reset code

2020-07-07 Thread Jakub Kicinski
On Tue, 7 Jul 2020 09:10:38 -0700 Shannon Nelson wrote: > On 7/6/20 10:33 AM, Jakub Kicinski wrote: > > On Thu, 2 Jul 2020 16:39:17 -0700 Shannon Nelson wrote: > >> The queue reset pattern is used in a couple different places, > >> only slightly different from each other, and could cause > >> is

Re: [PATCH net] ionic: centralize queue reset code

2020-07-07 Thread Shannon Nelson
On 7/6/20 10:33 AM, Jakub Kicinski wrote: On Thu, 2 Jul 2020 16:39:17 -0700 Shannon Nelson wrote: The queue reset pattern is used in a couple different places, only slightly different from each other, and could cause issues if one gets changed and the other didn't. This puts them together so t

Re: [PATCH net] ionic: centralize queue reset code

2020-07-06 Thread Jakub Kicinski
On Thu, 2 Jul 2020 16:39:17 -0700 Shannon Nelson wrote: > The queue reset pattern is used in a couple different places, > only slightly different from each other, and could cause > issues if one gets changed and the other didn't. This puts > them together so that only one version is needed, yet e