From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56FC018F2D6 for ; Thu, 8 Aug 2024 15:41:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723131714; cv=none; b=fKQvPTUrt0DYlYX5McknzcypzmS5t9eBO3FooAGrASvAXl0T2zcQWvRuvOiLG7iUx5xzM+kwR0EUgU/9yvoPbAs6K1R500ARCauzxytU0o8vJYD4A1jp5/PTh+SExfcG/io7zsKN8V1hxFZMckjMh/2yKOHzE9CHAYL8bxmNfN0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723131714; c=relaxed/simple; bh=rtTExVLo+hS1OIsTwFv1tJj9WvfWJPNeZdFtX0fWwiE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q8An09ojQpscFLNSKqiVx3T2m0OLezktCZJMt391o0TEY8Q/zT+0XyOwseEe9u4Kgt6uHg/wRQwVpo8dZrd5T83DRLMBOXsyW5XN36Jx5lPXxNX5rhrpHFfjrWRQZZvudrYVPsxnCNwML9ba0OgrQTTHXqHu+7Hg8hybhVNnQtk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=GWvqPz4o; arc=none smtp.client-ip=209.85.208.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="GWvqPz4o" Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5b8c2a6135eso1675461a12.0 for ; Thu, 08 Aug 2024 08:41:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1723131710; x=1723736510; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=23S22PmsuwkhNMTYFfJHzLRvP5wA2dHLTYMLULxZMKw=; b=GWvqPz4oWtT3iUuZt5zk/Ks8QgK7DDy9u0xxE1jypDqs3FtTN39Z35jf7R7a0vxo7j 1wrFWfoBL1uJDVTlnQ9VwLFCQF4+g17vUtQeb0Mjc3S8cshkL0CRVEWg0WkIa5jOL9Ov K8xzV55sKmDw3udJqiij3Hhko8Ku9mbz3pW72uQ/Tn5OFOUc2K426l4ljcozqbHYd+kj O1/zuCO5v+dxAAYT5Cuko/McywdLDd5qn9UYe/UnZcd41EjrJzIFZPCTGiFF2IEBK8oQ +yBGBciPAJUXJAI3SFejONqIJ6Q6GB8ppgtHhXtEJwwxouDIB995JS6ayHVUHfviwhoz xx9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723131710; x=1723736510; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=23S22PmsuwkhNMTYFfJHzLRvP5wA2dHLTYMLULxZMKw=; b=bGExlesB/d7A3ji6406DwybiK0NP9wvONCyiFhQsyLXihhjA1Aim8q31b7Glq7oi7Q fNIc7a2ukpFy4aNtn9CyxM6Iyw+DVqnzC46JgCnmt/vCHfp+K4IgkQJzeBrGbegaxp0+ /YjumJtelqZX5kdnKvfVVKNGTQ84JPzutxpWJUYKe11u3dC0tl4EoVd5XF7H4W10XWko xJqNmW85u6UIAz5FIiCiaw9bdrac0SBygqzt/ZAKrx+LRcEL/q740JZzHb9wBrjP4hey UM3v6wSQkpnmoL/8Uv6qOxbv+8ALO9d3PTgXaX4Gul4ka3V70jnYjFS9jqsaD8vTSkhZ ktGw== X-Gm-Message-State: AOJu0Yz9useA768UjVKZ0dzICS5EdV0CxBHPLmozSMxIkX6dvgEiwAU8 F8TpmpzxEOlpNymppm4o2q62vAjWz+Rg6t5WP3ogbdh/HpJyPXlCGtLcuqWHRCg= X-Google-Smtp-Source: AGHT+IHWpAvpASeq/K/z3dnXxa1G0aOGOC0Q73UdhcllZot9CEE7t1yteFz5RcP3R3SA5p8jx/ojsg== X-Received: by 2002:a05:6402:1cc1:b0:5a0:d5f2:1be with SMTP id 4fb4d7f45d1cf-5bbb3c109f6mr1665835a12.8.1723131709692; Thu, 08 Aug 2024 08:41:49 -0700 (PDT) Received: from localhost ([213.235.133.38]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5bbb2bf8e52sm740454a12.4.2024.08.08.08.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Aug 2024 08:41:48 -0700 (PDT) Date: Thu, 8 Aug 2024 17:41:31 +0200 From: Jiri Pirko To: Geetha sowjanya Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuba@kernel.org, davem@davemloft.net, pabeni@redhat.com, edumazet@google.com, sgoutham@marvell.com, sbhatta@marvell.com, hkelam@marvell.com Subject: Re: [net-next PATCH v10 01/11] octeontx2-pf: Refactoring RVU driver Message-ID: References: <20240805131815.7588-1-gakula@marvell.com> <20240805131815.7588-2-gakula@marvell.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240805131815.7588-2-gakula@marvell.com> Mon, Aug 05, 2024 at 03:18:05PM CEST, gakula@marvell.com wrote: >Refactoring and export list of shared functions such that >they can be used by both RVU NIC and representor driver. > >Signed-off-by: Geetha sowjanya >Reviewed-by: Simon Horman >--- > .../ethernet/marvell/octeontx2/af/common.h | 2 + > .../net/ethernet/marvell/octeontx2/af/mbox.h | 2 + > .../net/ethernet/marvell/octeontx2/af/npc.h | 1 + > .../net/ethernet/marvell/octeontx2/af/rvu.c | 11 + > .../net/ethernet/marvell/octeontx2/af/rvu.h | 1 + > .../marvell/octeontx2/af/rvu_debugfs.c | 27 -- > .../ethernet/marvell/octeontx2/af/rvu_nix.c | 47 ++-- > .../marvell/octeontx2/af/rvu_npc_fs.c | 5 + > .../ethernet/marvell/octeontx2/af/rvu_reg.h | 4 + > .../marvell/octeontx2/af/rvu_struct.h | 26 ++ > .../marvell/octeontx2/af/rvu_switch.c | 2 +- > .../marvell/octeontx2/nic/otx2_common.c | 6 +- > .../marvell/octeontx2/nic/otx2_common.h | 43 ++-- > .../ethernet/marvell/octeontx2/nic/otx2_pf.c | 240 +++++++++++------- > .../marvell/octeontx2/nic/otx2_txrx.c | 17 +- > .../marvell/octeontx2/nic/otx2_txrx.h | 3 +- > .../ethernet/marvell/octeontx2/nic/otx2_vf.c | 7 +- > 17 files changed, 266 insertions(+), 178 deletions(-) How can anyone review this? If you need to refactor the code in preparation for a feature, you can do in in a separate patchset sent before the feature appears. This patch should be split into X patches. One logical change per patch.