Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp673685pxb; Wed, 29 Sep 2021 07:26:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfPJpFHMUvby/Y8uKFkUVFt3FzN0/nNcC0zSA3t7hzHMt8n0CSb5TxF5UsOzg9ncJE3buI X-Received: by 2002:a63:9d43:: with SMTP id i64mr255449pgd.262.1632925619518; Wed, 29 Sep 2021 07:26:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632925619; cv=none; d=google.com; s=arc-20160816; b=iezaU8MApKnGu7Tb7NGtIVyaaH+FXE4soXi0VB763DehSunzCwCNdKNZdiYPZY2JtZ 8YBlU8h9mPotaJkRYltLyJcR0Q8MvVdb2ptxCS/Q0TKQw7onWfj7GogArjGKpEyYwwZz oq8XQZ4hkMi+hfZUaMPFba6LSi5OwIC5xdFR1m4f6qHjtbXJHKobXD47TwuPjJN9vmgc /cr+3Td5GMqdd/dUwA/hGC+wyNiXg/3n50btEoIoyaMh2WCxQaHwkJvEoG2T9GCJg4xL ydFiX7BsMcM8hnfYPxR/2VAoQRg2y2Bi8rEWcRO7eg+6UUVbaEFItM2t6vUJGnRIG1R3 cnOA== 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=Q8B5pNXv0hguSAu7e93JN5h1DqZkJ3JHFZddhVOyGYo=; b=jmN8JGC7/Dl9N0VNPLTTpPR3PgzQI59FMcn8XaroEPITsNKcP8ylHlvtOm1sCssWiR 5Lcp+RN6q/d0JDJusgBCqwrL6CXjsmi5F02TE5y1PQs7WSm5l6uFjmAgaxL11KRfrz/D fvopG/9lhw/sHEot4ROcGM/VK27kUGa05JF4ddwi4SmVHnnQI4rs/8SqK/up7cIcjcSD xW03/igpxldyWL77wu7g7L9OqBVUPvUzXm1sTfD7zTbo482xLWja6uvX1/vG5DlNVZuL DK/RttFHgfXg7AuyQBZkarzXB5qNSmLx2Jo7IsXXuG9XcPIxbC5/27Jx18KeO72LoV9t AXyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Fib9ZNHS; 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 il8si2118893pjb.93.2021.09.29.07.26.43; Wed, 29 Sep 2021 07:26:59 -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=Fib9ZNHS; 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 S1344378AbhI2N6F (ORCPT + 99 others); Wed, 29 Sep 2021 09:58:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:40302 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244987AbhI2N6E (ORCPT ); Wed, 29 Sep 2021 09:58:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D2CB8613D1; Wed, 29 Sep 2021 13:56:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632923783; bh=idflF2E8/Ly1lOVFC+hy6dMOJPOrXijkr0KQryGJPgc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Fib9ZNHSBUhUAKcgkZuZOnEuDljdRL8P/uoCMGRKwG46UqHSo4HD5ngmYXsjAGs2r bSm1F3ewUqSNpQu3GQgoOz7X9Yz7HqnI2qHtReyaLwqo1IGu2KL3q23PVgu8NYOcEV Jv1Q4JJ3zP18LY4zSq/bYM1pWth/qPgyLLwFqqewCfbRtg20enKZPzcn5pE69aMjUT EGxtNnS+u04nA8ovrmD+q4M4VvKpHefh0JUwR2ngjt1oTkbHiPxzR5rjQ+3+I6P/xI xBx6iOtiTYStQUdyfGgY2Sep/suFOxURUeSRYpbnUQpSJ/BOVZ0JUFf2Zv46brq8d+ oR9yLP9KSppzg== Date: Wed, 29 Sep 2021 06:56:21 -0700 From: Jakub Kicinski To: Vladimir Oltean Cc: Leon Romanovsky , "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 , Yisen Zhuang Subject: Re: [PATCH net-next v1 0/5] Devlink reload and missed notifications fix Message-ID: <20210929065621.20cb08ad@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20210929134637.4wlbd5ehbgc55cuo@skbuf> References: <20210929064004.3172946e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210929134637.4wlbd5ehbgc55cuo@skbuf> 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 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! :)