From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: [PATCH net-next 09/11] devlink: convert occ_get op to separate registration Date: Wed, 4 Apr 2018 15:59:10 -0700 Message-ID: <20180404155910.7baf2ec9@cakuba.netronome.com> References: <20180329203334.25575-1-idosch@mellanox.com> <20180329203334.25575-10-idosch@mellanox.com> <5f2dc834-0d8a-77ef-3d33-2228e7bd530c@gmail.com> <20180403073212.GI3313@nanopsycho> <20180403153020.GJ3313@nanopsycho> <289e6c36-5e8d-139a-9fa4-575cf9fe86a1@gmail.com> <20180404062511.GO3313@nanopsycho> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: David Ahern , Ido Schimmel , netdev@vger.kernel.org, davem@davemloft.net, jiri@mellanox.com, petrm@mellanox.com, mlxsw@mellanox.com To: Jiri Pirko Return-path: Received: from mx4.wp.pl ([212.77.101.12]:36361 "EHLO mx4.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752264AbeDDW7R (ORCPT ); Wed, 4 Apr 2018 18:59:17 -0400 In-Reply-To: <20180404062511.GO3313@nanopsycho> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 4 Apr 2018 08:25:11 +0200, Jiri Pirko wrote: > >Jiri, I am not aware of any other API where a driver registers with it > >yet doesn't want the handler to be called so either waits to register > > Again, the thing is, this is kind of unusual because of the reload > thing. FWIW my knee jerk thought is that it's strange that devlink ops can be executed at all while reload is happening (incl. another reload request). I'm probably missing the real issue..