mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tony Nguyen <anthony.l.nguyen@intel.com>
To: "Loktionov, Aleksandr" <aleksandr.loktionov@intel.com>,
	Yuto Ohnuki <ytohnuki@amazon.com>,
	"Kitszel, Przemyslaw" <przemyslaw.kitszel@intel.com>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	"intel-wired-lan@lists.osuosl.org"
	<intel-wired-lan@lists.osuosl.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [Intel-wired-lan] [PATCH iwl-next v1] ixgbevf: remove unused fields from struct ixgbevf_adapter
Date: Thu, 17 Jul 2025 13:08:12 -0700	[thread overview]
Message-ID: <d4144828-f266-4a57-a78c-55a3b20b8cf7@intel.com> (raw)
In-Reply-To: <IA3PR11MB8986F59CEDE4BF3B7994241EE551A@IA3PR11MB8986.namprd11.prod.outlook.com>



On 7/17/2025 2:33 AM, Loktionov, Aleksandr wrote:
> 
> 
>> -----Original Message-----
>> From: Intel-wired-lan <intel-wired-lan-bounces@osuosl.org> On Behalf
>> Of Yuto Ohnuki
>> Sent: Thursday, July 17, 2025 10:46 AM
>> To: Nguyen, Anthony L <anthony.l.nguyen@intel.com>; Kitszel,
>> Przemyslaw <przemyslaw.kitszel@intel.com>
>> Cc: Andrew Lunn <andrew+netdev@lunn.ch>; David S . Miller
>> <davem@davemloft.net>; Eric Dumazet <edumazet@google.com>; Jakub
>> Kicinski <kuba@kernel.org>; Paolo Abeni <pabeni@redhat.com>; intel-
>> wired-lan@lists.osuosl.org; netdev@vger.kernel.org; linux-
>> kernel@vger.kernel.org; Yuto Ohnuki <ytohnuki@amazon.com>
>> Subject: [Intel-wired-lan] [PATCH iwl-next v1] ixgbevf: remove unused
>> fields from struct ixgbevf_adapter
>>
>> Remove hw_rx_no_dma_resources and eitr_param fields from struct
>> ixgbevf_adapter since these fields are never referenced in the driver.
>>
>> Note that the interrupt throttle rate is controlled by the
>> rx_itr_setting and tx_itr_setting variables.
>>
>> This change simplifies the ixgbevf driver by removing unused fields,
>> which improves maintainability.
>>
>> Signed-off-by: Yuto Ohnuki <ytohnuki@amazon.com>
> Can you add 'Fixes:' or 'Cleanup:' tag ?

As there's no user bug, I don't believe this warrants a Fixes: tag.

I'm not familiar with a Cleanup: tag; on quick browse of git log, I'm 
not seeing one being used(?)

Thanks,
Tony

> 
> Alex
>> ---
>>   drivers/net/ethernet/intel/ixgbevf/ixgbevf.h | 3 ---
>>   1 file changed, 3 deletions(-)
>>
>> diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
>> b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
>> index 4384e892f967..3a379e6a3a2a 100644
>> --- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
>> +++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
>> @@ -346,7 +346,6 @@ struct ixgbevf_adapter {
>>   	int num_rx_queues;
>>   	struct ixgbevf_ring *rx_ring[MAX_TX_QUEUES]; /* One per active
>> queue */
>>   	u64 hw_csum_rx_error;
>> -	u64 hw_rx_no_dma_resources;
>>   	int num_msix_vectors;
>>   	u64 alloc_rx_page_failed;
>>   	u64 alloc_rx_buff_failed;
>> @@ -363,8 +362,6 @@ struct ixgbevf_adapter {
>>   	/* structs defined in ixgbe_vf.h */
>>   	struct ixgbe_hw hw;
>>   	u16 msg_enable;
>> -	/* Interrupt Throttle Rate */
>> -	u32 eitr_param;
>>
>>   	struct ixgbevf_hw_stats stats;
>>
>> --
>> 2.47.1
>>
>>
>>
>>
>> Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855
>> Luxembourg, R.C.S. Luxembourg B186284
>>
>> Amazon Web Services EMEA SARL, Irish Branch, One Burlington Plaza,
>> Burlington Road, Dublin 4, Ireland, branch registration number 908705
>>
>>
> 


  reply	other threads:[~2025-07-17 20:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-17  8:46 Yuto Ohnuki
2025-07-17  9:29 ` [Intel-wired-lan] " Dawid Osuchowski
2025-07-17  9:33 ` Loktionov, Aleksandr
2025-07-17 20:08   ` Tony Nguyen [this message]
2025-07-21 11:47     ` Loktionov, Aleksandr
2025-07-21 16:12       ` Tony Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d4144828-f266-4a57-a78c-55a3b20b8cf7@intel.com \
    --to=anthony.l.nguyen@intel.com \
    --cc=aleksandr.loktionov@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=ytohnuki@amazon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®