[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<CH0PR18MB4339BD8152531267E11509DFCD912@CH0PR18MB4339.namprd18.prod.outlook.com>
Date: Sun, 1 Sep 2024 09:52:04 +0000
From: Geethasowjanya Akula <gakula@...vell.com>
To: Jiri Pirko <jiri@...nulli.us>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"kuba@...nel.org" <kuba@...nel.org>,
"davem@...emloft.net"
<davem@...emloft.net>,
"pabeni@...hat.com" <pabeni@...hat.com>,
"edumazet@...gle.com" <edumazet@...gle.com>,
Sunil Kovvuri Goutham
<sgoutham@...vell.com>,
Subbaraya Sundeep Bhatta <sbhatta@...vell.com>,
Hariprasad Kelam <hkelam@...vell.com>
Subject: RE: [EXTERNAL] Re: [net-next PATCH v10 01/11] octeontx2-pf:
Refactoring RVU driver
>-----Original Message-----
>From: Jiri Pirko <jiri@...nulli.us>
>Sent: Thursday, August 22, 2024 8:00 PM
>To: Geethasowjanya Akula <gakula@...vell.com>
>Cc: netdev@...r.kernel.org; linux-kernel@...r.kernel.org; kuba@...nel.org;
>davem@...emloft.net; pabeni@...hat.com; edumazet@...gle.com; Sunil
>Kovvuri Goutham <sgoutham@...vell.com>; Subbaraya Sundeep Bhatta
><sbhatta@...vell.com>; Hariprasad Kelam <hkelam@...vell.com>
>Subject: Re: [EXTERNAL] Re: [net-next PATCH v10 01/11] octeontx2-pf:
>Refactoring RVU driver
>
>Fri, Aug 16, 2024 at 04:10:31PM CEST, jiri@...nulli.us wrote:
>>Fri, Aug 16, 2024 at 03:36:41PM CEST, gakula@...vell.com wrote:
>>>
>>>
>>>>-----Original Message-----
>>>>From: Jiri Pirko <jiri@...nulli.us>
>>>>Sent: Thursday, August 8, 2024 9:12 PM
>>>>To: Geethasowjanya Akula <gakula@...vell.com>
>>>>Cc: netdev@...r.kernel.org; linux-kernel@...r.kernel.org;
>>>>kuba@...nel.org; davem@...emloft.net; pabeni@...hat.com;
>>>>edumazet@...gle.com; Sunil Kovvuri Goutham
><sgoutham@...vell.com>;
>>>>Subbaraya Sundeep Bhatta <sbhatta@...vell.com>; Hariprasad Kelam
>>>><hkelam@...vell.com>
>>>>Subject: [EXTERNAL] Re: [net-next PATCH v10 01/11] octeontx2-pf:
>>>>Refactoring RVU driver
>>>>
>>>>Mon, Aug 05, 2024 at 03:18:05PM CEST, gakula@...vell.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 <gakula@...vell.com>
>>>>>Reviewed-by: Simon Horman <horms@...nel.org>
>>>>>---
>>>>> .../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.
>
>I think you misunderstood.
>
>You should describe the motivation for the refactor. Do the refactor in a
>separate patchset, one logical change per patch. In the cover letter tell what
>you do and why. Tell it is a preparation for follow-up patchset that does X.
>Simple as that.
>
>>
Ok will send then as a separate patch set.
Powered by blists - more mailing lists