[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250812132910.99626-1-przemyslaw.kitszel@intel.com>
Date: Tue, 12 Aug 2025 15:28:58 +0200
From: Przemek Kitszel <przemyslaw.kitszel@...el.com>
To: intel-wired-lan@...ts.osuosl.org,
Tony Nguyen <anthony.l.nguyen@...el.com>
Cc: netdev@...r.kernel.org,
Przemek Kitszel <przemyslaw.kitszel@...el.com>,
Kuniyuki Iwashima <kuniyu@...gle.com>
Subject: [PATCH 00/12] ice: split ice_virtchnl.c git-blame friendly way
Summary:
Split ice_virtchnl.c into two more files (+headers), in a way
that git-blame works better.
Then move virtchnl files into a new subdir.
No logic changes.
I have developed (or discovered ;)) how to split a file in a way that
both old and new are nice in terms of git-blame
There were no much disscussion on [RFC], so I would like to propose
to go forward with this approach.
There is more commits needed to have it nice, so it forms a git-log vs
git-blame tradeoff, but (after the brief moment that this is on the top)
we spend orders of magnitude more time looking at the blame output (and
commit messages linked from that) - so I find it much better to see
actual logic changes instead of "move xx to yy" stuff (typical for
"squashed/single-commit splits").
Cherry-picks/rebases work the same with this method as with simple
"squashed/single-commit" approach (literally all commits squashed into
one (to have better git-log, but shitty git-blame output).
Rationale for the split itself is, as usual, "file is big and we want to
extend it".
This series is available on my github (just rebased from any
earlier mentions):
https://github.com/pkitszel/linux/tree/virtchnl-split-Aug12
(the simple git-email view flattens this series, removing two
merges from the view).
[RFC]:
https://lore.kernel.org/netdev/5b94d14e-a0e7-47bd-82fc-c85171cbf26e@intel.com/T/#u
(I would really look at my fork via your preferred git interaction tool
instead of looking at the patches below).
Przemek Kitszel (12):
ice: split queue stuff out of ice_virtchnl.c - p1
ice: split queue stuff out of ice_virtchnl.c - p2
ice: extract ice_virtchnl_queues.c: cleanup - p1
ice: extract ice_virtchnl_queues.c: cleanup - p2
ice: split RSS stuff out of ice_virtchnl.c - p1
ice: extract ice_virtchnl_queues.c: cleanup - p3
ice: split RSS stuff out of ice_virtchnl.c - p2
ice: finish ice_virtchnl.c split into ice_virtchnl_queues.c
ice: extract ice_virtchnl_rss.c: cleanup - p1
ice: extract ice_virtchnl_rss.c: cleanup - p2
ice: finish ice_virtchnl.c split into ice_virtchnl_rss.c
ice: add virt/ and move ice_virtchnl* files there
CC: Kuniyuki Iwashima <kuniyu@...gle.com>
--
2.39.3
Powered by blists - more mailing lists