From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 177E91BD512 for ; Fri, 16 Aug 2024 14:10:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723817440; cv=none; b=tGJEUoiif7SBxd7JppaiHUs4DD0aX++XsfbFrddByDw7+2GoCfC3DhPOZ/XJopDJzgJ3IedrN5qi+4Ew07Zl7gyBIw+IfEEA+vAdu30TrzK/deRfrHM5sYXOkdzKL03WF/m3ibAA4D2FYyjnxWXC+byV7gqVXhxvkN+40rFj+XM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723817440; c=relaxed/simple; bh=psHb8N1x1GwxaHQF/qlrntKeqTMz1XDKVEqPx/u5D6k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cQO/L84XWP87h033ttl5nMPzcJztCTb9V76+lEnRLCGPDcVtuNfVGd8/veM+3MumaNQOQqpIcEVpBMYvOXu7EmjdZ/8bPOtrM4Zp18oQYYJDzYDn9L7z2YrxCD1IIGh49+WZk6fhoLo8qgXzRITObUYLW2k87Ne/vOsysIyYUy0= 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=Rc6C39sg; arc=none smtp.client-ip=209.85.221.45 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="Rc6C39sg" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-37189d8e637so1074974f8f.3 for ; Fri, 16 Aug 2024 07:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1723817436; x=1724422236; 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=miVZh/GI0HcREl2DDRTzth/cgjKJT8U5WJExR3abJFo=; b=Rc6C39sgG5iSqguNXRekYjur4CVWGL4T1KhhiEEgnhgCdEZhqFfQa922ebJ0sAfpPf QXtZQKGpGjwHm9sGwKtyvSJrQuckqAkZfhveco7XVaMEywsSnI6hRBDDPwx4f2CKJ8A1 pic69sO3hWTcCOuk0fdojdPiDVKfTIhbUibW/rKArSJj66Da0r/Jf4BUocilbWbYHMjD bjMLyxn9jfc3LXKHtjTM5ue1aqRLjlQSCvUdFnO0Q99joPk5xdgZj5k/uLJXDxr8meBm hGfimfo64Rl9NsaDnh07mMSbUC2aS/xD+5M7dRvzzSRDjVgLyiLaXWxH8H5YqwzllWMq meBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723817436; x=1724422236; 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=miVZh/GI0HcREl2DDRTzth/cgjKJT8U5WJExR3abJFo=; b=XjuXJecC1t561j3g8j+AA+PddMFOwybrrGsoYbBCaMGgj0Gr6vy3s5Y7ZfSJHsUTnK tGB2nidhTJip3UV5EHkaioUuO3fYJq9bh9UTcJgOLhj+f0iS/VIyyVYeOPk2eRFBYUo3 VH/juTRSVJKepZYBBWdfRiYLvaDWbw87RnBvkIOqZt+4d3958+2jGpC9HggJXdt0nLXI tbLGCO3zaiamHiu6NIQpQ3/6LARHRlV172PhwVva+zV/26ABrRaUyxCHRo0mAuobMr+0 G5PNZwY6IF16SyOwgJe2Epc+vxE+VKdglIGtuVPa90INpM4YYbL8WRAx5glMDEgX9M9v YibQ== X-Gm-Message-State: AOJu0YzpeZMSzaH7P1NvqEdaWq+O0iJhOK7k7OeXkNm5FPmN02e6gAS7 Z/jY64DdKaKUPyxvxBImei74IWciUhkQsPz5aFobUT3guhPbDSB4DWgoPKkJXbw= X-Google-Smtp-Source: AGHT+IGpkEEitEY+0w44espFmpSjByAEeYYXzVs7YJxJR1SO2wEpGer/EiQIMgOKiPhMsOmUx6eLxQ== X-Received: by 2002:adf:ea8c:0:b0:371:828a:741d with SMTP id ffacd0b85a97d-37194455f9emr1709397f8f.21.1723817435849; Fri, 16 Aug 2024 07:10:35 -0700 (PDT) Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3718985a6ddsm3712243f8f.58.2024.08.16.07.10.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2024 07:10:35 -0700 (PDT) Date: Fri, 16 Aug 2024 16:10:31 +0200 From: Jiri Pirko To: Geethasowjanya Akula Cc: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "kuba@kernel.org" , "davem@davemloft.net" , "pabeni@redhat.com" , "edumazet@google.com" , Sunil Kovvuri Goutham , Subbaraya Sundeep Bhatta , Hariprasad Kelam Subject: Re: [EXTERNAL] 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: Fri, Aug 16, 2024 at 03:36:41PM CEST, gakula@marvell.com wrote: > > >>-----Original Message----- >>From: Jiri Pirko >>Sent: Thursday, August 8, 2024 9:12 PM >>To: Geethasowjanya Akula >>Cc: netdev@vger.kernel.org; linux-kernel@vger.kernel.org; kuba@kernel.org; >>davem@davemloft.net; pabeni@redhat.com; edumazet@google.com; Sunil >>Kovvuri Goutham ; Subbaraya Sundeep Bhatta >>; Hariprasad Kelam >>Subject: [EXTERNAL] Re: [net-next PATCH v10 01/11] octeontx2-pf: Refactoring >>RVU driver >> >>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. >If these changes are moved into a separate patchset. How can someone understand and review >them without knowing where they get reused. Describe it then. No problem.