Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp751069pxb; Wed, 29 Sep 2021 08:58:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3Vi9ijyd0TN7QzeM/FKsfSpUf07mj/9P8rnO5HNz/JMx/vJhCSsP8OzantUce8+OfwOzo X-Received: by 2002:aa7:d5c3:: with SMTP id d3mr739393eds.151.1632931123533; Wed, 29 Sep 2021 08:58:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632931123; cv=none; d=google.com; s=arc-20160816; b=KZIEq3dqt/NK/QcFDb8EPBNuVZN/rDUllCpyMpy2JIQBGdCOZE7uXsjSyTlr1l+8tg 9yN0yuurLXolhGHPZiNnc4+9l1oNsi+D3bO15E8NuDRJNt1wB2evyci6ttxQQWm2mZVD 5OTgR324VgCTPrW4cVgJIz4WsU4q0FEShUWzuk9d2gZLALrNvxBv0DXi1c16kyKtOa/E WNJTbDS/26hmBnhMn+1x93DIXTVFukkCLrsVdKB8D37fmJMidKWkkXFYd17f8sxXbqmn GxrcySt/6G1uATv6Tn4m4RK7i5b6oeqODMMgKSs25pjIp5/jJmsfyN6hzGvTyR3OF9pS tunQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EmanA4cCX4ejmsNHMlt88fh83reUl9O5TvKKtsKkYIk=; b=sKwWg1dGELBjD9gCUDyU6MorPtvpygxuQ5EmW9pQWplWj5eWHfJa66bZlj5K5P0pq1 QHtGquH4uP9UF+iC+IAk3ognP+KXbCJrcQUzjRks/Lg2xAxbg0PVkmU+bspHGAHcK9pd P5s1NXW1QgITbuHc7MHC1q7SJpd3eoLGv+QYTNbDSoNcI5eX7skjOf9W5LuNe5J08xOm S+RA4OZfy6TppU4IUSnyT8ddKIFp5kP28C0RL8ebVfi4LD8ViGvG21xzmtm6TF9vp+sG NSwfalHhOxj4UuDF1xNALTCbHXgGuQAvAccOPqfesRZc0F9ssh5ei1zV7Jhuoval8LVd QHAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dLQUd2R3; 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 i10si290706edb.111.2021.09.29.08.58.19; Wed, 29 Sep 2021 08:58: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=dLQUd2R3; 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 S1344013AbhI2OVq (ORCPT + 99 others); Wed, 29 Sep 2021 10:21:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:52674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244206AbhI2OVp (ORCPT ); Wed, 29 Sep 2021 10:21:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8794A613A7; Wed, 29 Sep 2021 14:20:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632925204; bh=/rFaJ/GWthiiFP4i+etBeG9LoeoqNtBGaxI8dkwdWLg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dLQUd2R30FU25Q/pjWqD86gU0LXsOCAmuWbfatlF3n9gTH/eVaBbejlM0Y/nVbnww 8jJK3Ke33wZm6ugH6Iwao5v/m8+mvqJq+4a7nfRpiRrv+xzQcP/yJ4PDuwunfqH/Ob 1RnQUotHpv3iGcDBBaH7bDCo9PvtoHSrHZnzp5nZlP4jWZNcBRh4TmjOW9XEgPOpSD YP8Iq1E1hWL3yKuRMZoba9u7eh6W6tEUcP1pl6UEhCfZkZRWyOXComIOAdaKdiPagT ST6EvIYLEbPG4Px00nnpK6oecE1OnqFOF1L4ql37gIAiW5GyKg9MULEYCT5Z8EGHa8 eLZbXug7Mf1tA== Date: Wed, 29 Sep 2021 17:20:01 +0300 From: Leon Romanovsky To: Jakub Kicinski Cc: Vladimir Oltean , "David S . Miller" , 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 , Yisen Zhuang Subject: Re: [PATCH net-next v1 0/5] Devlink reload and missed notifications fix Message-ID: References: <20210929064004.3172946e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210929134637.4wlbd5ehbgc55cuo@skbuf> <20210929065621.20cb08ad@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210929065621.20cb08ad@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 29, 2021 at 06:56:21AM -0700, Jakub Kicinski wrote: > On Wed, 29 Sep 2021 13:46:38 +0000 Vladimir Oltean wrote: > > On Wed, Sep 29, 2021 at 06:40:04AM -0700, Jakub Kicinski wrote: > > > 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. > > > > Leon, while the discussion about this unfolds, can you please repost > > patch 1 separately? :) > > Yes, please and thanks! :) Done, thanks https://lore.kernel.org/netdev/2ed1159291f2a589b013914f2b60d8172fc525c1.1632925030.git.leonro@nvidia.com/T/#u