Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp637830pxb; Wed, 29 Sep 2021 06:45:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwA+fkPA2/2u2Mp58rbzf1lw2McUYQLmMnrgITCPhwIshroLHNQOY5c5pV569EnsQGnMHnF X-Received: by 2002:a63:9a01:: with SMTP id o1mr26096pge.441.1632923143363; Wed, 29 Sep 2021 06:45:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632923143; cv=none; d=google.com; s=arc-20160816; b=nHXIsvWZIr3cQOnPbaEcX3totNTpOfYVeIroyLgoF24yiWao/N7wJO+A35VNV9Zwj+ IbZLtcjpiEtSbis8bFh6l89RfPfkjZHFSbRa25kOQk3Ca7BKAE3yt/PYmpt5QYJ0az4q A0WVVtj+HSQMc0YbEqZkwDviyWBzZhqJs9iorucltgWjbfNSrXAlu3Kx+9ULUvIkFdqe zFE5NdsplVq6z6U6erIpVnEd1n6JxZinQ8cvz0+tWPITJ4Mb9ps9nHKnFkAEwHcjHJkE FheHJNlf8kAwvRjuEHtjfh38zpIz3gutc/khugOzlQi3Xias8plam20JAkswo7NYQFgb K6Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=WV6Wm9m/tpA2blNExxLbYc0K6J5lxj3qamRjbhV9N7M=; b=iptXgW5jhK35tVtnEg/2ChiuKjAXNu4LgpaHJhJmW4HEmLuxCvtsSx4a6tKN/WR2Ls 9K3VENhzeSNPuEiwKzwcigsczw+/dRZqTgNWLztCIpG3HoS6hlECV0zPLyPXGbSxx1xV 8i22WnuFih83R4K4p87s4rsuJD/9X2LLAUYJUaRpNMpfRZdaWkxhX5m8XN2dnO/ou2E+ k884vfdcJmC4Fm5K8tLl61iR+CINRU/BBYCpujukJmCIQgp7RCzfmWR5n69kUiNrZ4EL TbmvewF1dYPVwS72MEKcoglaTT9XgtVyUT3lUwPhAA9svQPVuBtqWRybBc19iMIC5YZB //Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RTPVEKKD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b9si1716839pjh.113.2021.09.29.06.45.27; Wed, 29 Sep 2021 06:45:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RTPVEKKD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344250AbhI2Nls (ORCPT + 99 others); Wed, 29 Sep 2021 09:41:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:54822 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344186AbhI2Nls (ORCPT ); Wed, 29 Sep 2021 09:41:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 632EC6137A; Wed, 29 Sep 2021 13:40:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632922807; bh=HRxvn3IUjfecEGEfskFUy3y0BDqwSgrQjWLQzEOJJgw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RTPVEKKDWu8xLuOVgrWyDppGS6t0eE5njBJgD1i3idYi2+uHPuZa5cxEcjeFQ3cZe 6NABzyvWfwl476XJU0PdI98Izs20RoC9vvAoAveJEZuCn+cAfihiwiMabw0KRLU2e+ TjWVzaCDWGdqoHQJP8rzeE3N3fWPyiTmO527AagTY9mO2loOHnXdQV7WiMI4gLE6vU ul6sdJZ8l6+2P15LTHORFb07eoWaQztgWFnh43dsVGZ4Hd/JzdNsuR4airw1rBFwB3 v8FM8IQp926Dnl24p7J95hZj1aT8hWczKBdj0YqITOJZkMf+W5a/5yeHOFVImIQmNU 0lw8wtPminwVw== Date: Wed, 29 Sep 2021 06:40:04 -0700 From: Jakub Kicinski To: Leon Romanovsky Cc: "David S . Miller" , Leon Romanovsky , Alexandre Belloni , Andrew Lunn , Ariel Elior , Bin Luo , Claudiu Manoil , Coiby Xu , Derek Chickles , drivers@pensando.io, Eric Dumazet , Felix Manlunas , Florian Fainelli , Geetha sowjanya , Greg Kroah-Hartman , GR-everest-linux-l2@marvell.com, GR-Linux-NIC-Dev@marvell.com, hariprasad , Ido Schimmel , intel-wired-lan@lists.osuosl.org, Ioana Ciornei , Jerin Jacob , Jesse Brandeburg , Jiri Pirko , Jonathan Lemon , Linu Cherian , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-rdma@vger.kernel.org, linux-staging@lists.linux.dev, Manish Chopra , Michael Chan , Moshe Shemesh , netdev@vger.kernel.org, oss-drivers@corigine.com, Richard Cochran , Saeed Mahameed , Salil Mehta , Satanand Burla , Shannon Nelson , Shay Drory , Simon Horman , Subbaraya Sundeep , Sunil Goutham , Taras Chornyi , Tariq Toukan , Tony Nguyen , UNGLinuxDriver@microchip.com, Vadym Kochan , Vivien Didelot , Vladimir Oltean , Yisen Zhuang Subject: Re: [PATCH net-next v1 0/5] Devlink reload and missed notifications fix Message-ID: <20210929064004.3172946e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 29 Sep 2021 15:00:41 +0300 Leon Romanovsky wrote: > This series starts from the fixing the bug introduced by implementing > devlink delayed notifications logic, where I missed some of the > notifications functions. > > The rest series provides a way to dynamically set devlink ops that is > needed for mlx5 multiport device and starts cleanup by removing > not-needed logic. > > In the next series, we will delete various publish API, drop general > lock, annotate the code and rework logic around devlink->lock. > > All this is possible because driver initialization is separated from the > user input now. Swapping ops is a nasty hack in my book. And all that to avoid having two op structures in one driver. Or to avoid having counters which are always 0? Sorry, at the very least you need better explanation for this.