[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <94ab7f28-c74b-49c5-920c-a3a881de0b86@intel.com>
Date: Wed, 4 Dec 2024 10:09:54 +0100
From: Przemek Kitszel <przemyslaw.kitszel@...el.com>
To: Rosen Penev <rosenp@...il.com>
CC: Tony Nguyen <anthony.l.nguyen@...el.com>, Andrew Lunn
<andrew+netdev@...n.ch>, "David S. Miller" <davem@...emloft.net>, "Eric
Dumazet" <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, "moderated list:INTEL ETHERNET DRIVERS"
<intel-wired-lan@...ts.osuosl.org>, <netdev@...r.kernel.org>
Subject: Re: [Intel-wired-lan] [PATCHv3 net-next iwl-next] net: intel: use
ethtool string helpers
On 11/5/24 06:47, Przemek Kitszel wrote:
> On 10/31/24 22:14, Rosen Penev wrote:
>> The latter is the preferred way to copy ethtool strings.
>>
>> Avoids manually incrementing the pointer. Cleans up the code quite well.
>>
>> Signed-off-by: Rosen Penev <rosenp@...il.com>
>> ---
>> v3: change custom get_strings to u8** to make sure pointer increments
>> get propagated.
>
> I'm sorry for misleading you here, or perhaps not being clear enough.
>
> Let me restate: I'm fine with double pointer, but single pointer is also
> fine, no need to change if not used.
>
> And my biggest corncern is that you change big chunks of the code for no
> reason, please either drop those changes/those drivers, or adjust to
> have only minimal changes.
>
> please fine this complain embedded in the code inline for ice, igb, igc,
> and ixgbe
I would be happy to accept your changes trimmed to the drivers I didn't
complained about, I find that part a valuable contribution from you
PS. No need to CC XDP/BFP list/people for such changes
[removed those]
>
>> v2: add iwl-next tag. use inline int in for loops.
>> .../net/ethernet/intel/e1000/e1000_ethtool.c | 10 ++---
>> drivers/net/ethernet/intel/e1000e/ethtool.c | 14 +++---
>> .../net/ethernet/intel/fm10k/fm10k_ethtool.c | 10 ++---
>> .../net/ethernet/intel/i40e/i40e_ethtool.c | 6 +--
>> drivers/net/ethernet/intel/ice/ice_ethtool.c | 43 +++++++++++--------
>> drivers/net/ethernet/intel/igb/igb_ethtool.c | 35 ++++++++-------
>> drivers/net/ethernet/intel/igbvf/ethtool.c | 10 ++---
>> drivers/net/ethernet/intel/igc/igc_ethtool.c | 36 ++++++++--------
>> .../net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 32 +++++++-------
>> drivers/net/ethernet/intel/ixgbevf/ethtool.c | 36 ++++++----------
>> 10 files changed, 118 insertions(+), 114 deletions(-)
Powered by blists - more mailing lists