[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230616235041.4d3f99fe@kernel.org>
Date: Fri, 16 Jun 2023 23:50:41 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Tony Nguyen <anthony.l.nguyen@...el.com>
Cc: davem@...emloft.net, pabeni@...hat.com, edumazet@...gle.com,
netdev@...r.kernel.org, Pavan Kumar Linga <pavan.kumar.linga@...el.com>,
emil.s.tantilov@...el.com, jesse.brandeburg@...el.com,
sridhar.samudrala@...el.com, shiraz.saleem@...el.com,
sindhu.devale@...el.com, willemb@...gle.com, decot@...gle.com,
andrew@...n.ch, leon@...nel.org, mst@...hat.com, simon.horman@...igine.com,
shannon.nelson@....com, stephen@...workplumber.org, Alan Brady
<alan.brady@...el.com>, Joshua Hay <joshua.a.hay@...el.com>, Madhu Chittim
<madhu.chittim@...el.com>, Phani Burra <phani.r.burra@...el.com>,
Shailendra Bhatnagar <shailendra.bhatnagar@...el.com>
Subject: Re: [PATCH net-next v2 04/15] idpf: add core init and interrupt
request
On Wed, 14 Jun 2023 10:14:17 -0700 Tony Nguyen wrote:
> + * @IDPF_REL_RES_IN_PROG: Resources release in progress
> + * @IDPF_CANCEL_SERVICE_TASK: Do not schedule service task if bit is set
> + * @IDPF_REMOVE_IN_PROG: Driver remove in progress
Why all the X-in-progress flags, again?
> + set_bit(IDPF_CANCEL_SERVICE_TASK, adapter->flags);
> + cancel_delayed_work_sync(&adapter->serv_task);
> + clear_bit(IDPF_CANCEL_SERVICE_TASK, adapter->flags);
Pretty sure workqueue protects from self-requeueing.
Powered by blists - more mailing lists