netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
To: Simon Horman <horms@kernel.org>,
	Tony Nguyen <anthony.l.nguyen@intel.com>
Cc: <davem@davemloft.net>, <kuba@kernel.org>, <pabeni@redhat.com>,
	<edumazet@google.com>, <netdev@vger.kernel.org>,
	<jacob.e.keller@intel.com>,
	Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com>
Subject: Re: [PATCH net-next v2 2/5] ice: configure FW logging
Date: Mon, 14 Aug 2023 08:24:41 -0700	[thread overview]
Message-ID: <d1a39dd8-035d-8c1b-c2c2-b7ca28c95fae@intel.com> (raw)
In-Reply-To: <ZNYH705yA5qGxnvJ@vergenet.net>

On 8/11/2023 3:05 AM, Simon Horman wrote:
> On Thu, Aug 10, 2023 at 10:01:06AM -0700, Tony Nguyen wrote:
>> From: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
>>
>> Users want the ability to debug FW issues by retrieving the
>> FW logs from the E8xx devices. Use debugfs to allow the user to
>> read/write the FW log configuration by adding a 'fwlog/modules' file.
>> Reading the file will show either the currently running configuration or
>> the next configuration (if the user has changed the configuration).
>> Writing to the file will update the configuration, but NOT enable the
>> configuration (that is a separate command).
> 
> ...
> 
>> @@ -5635,10 +5653,14 @@ static int __init ice_module_init(void)
>>   		goto err_dest_wq;
>>   	}
>>   
>> +	ice_debugfs_init();
>> +
>>   	status = pci_register_driver(&ice_driver);
>>   	if (status) {
>>   		pr_err("failed to register PCI driver, err %d\n", status);
>>   		goto err_dest_lag_wq;
>> +		destroy_workqueue(ice_wq);
>> +		ice_debugfs_exit();
> 
> Hi Paul and Tony,
> 
> this new code seems to be unreachable.
> Should it go before the goto statement?
> 

Good catch! This has been fixed in Tony's tree

Paul

>>   	}
>>   
>>   	return 0;
> 
> ...


  parent reply	other threads:[~2023-08-14 15:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10 17:01 [PATCH net-next v2 0/5][pull request] add v2 FW logging for ice driver Tony Nguyen
2023-08-10 17:01 ` [PATCH net-next v2 1/5] ice: remove FW logging code Tony Nguyen
2023-08-10 17:01 ` [PATCH net-next v2 2/5] ice: configure FW logging Tony Nguyen
2023-08-11 10:05   ` Simon Horman
2023-08-11 22:16     ` Jakub Kicinski
2023-08-14 15:24     ` Paul M Stillwell Jr [this message]
2023-08-10 17:01 ` [PATCH net-next v2 3/5] ice: enable " Tony Nguyen
2023-08-10 17:01 ` [PATCH net-next v2 4/5] ice: add ability to read FW log data and configure the number of log buffers Tony Nguyen
2023-08-10 17:01 ` [PATCH net-next v2 5/5] ice: add documentation for FW logging 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=d1a39dd8-035d-8c1b-c2c2-b7ca28c95fae@intel.com \
    --to=paul.m.stillwell.jr@intel.com \
    --cc=anthony.l.nguyen@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=himasekharx.reddy.pucha@intel.com \
    --cc=horms@kernel.org \
    --cc=jacob.e.keller@intel.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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;
as well as URLs for NNTP newsgroup(s).