From: Tony Nguyen <anthony.l.nguyen@intel.com>
To: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>,
<intel-wired-lan@lists.osuosl.org>
Subject: Re: [Intel-wired-lan] [PATCH net-next v14 4/5] ice: add ability to read FW log data and configure the number of log buffers
Date: Tue, 25 Jul 2023 08:56:45 -0700 [thread overview]
Message-ID: <ebc68a29-49b9-9fc5-1eaa-5eb65001eb3d@intel.com> (raw)
In-Reply-To: <20230713222558.142-5-paul.m.stillwell.jr@intel.com>
On 7/13/2023 3:25 PM, Paul M Stillwell Jr wrote:
> Once logging is enabled the user should read the data from the 'data'
> file. The data is in the form of a binary blob that can be sent to Intel
> for decoding. To read the data use a command like:
>
> cat /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/data > log_data.bin
>
> If the user wants to clear the FW log data that has been stored in the
> driver then they can write a 0 to the 'data' file and that will clear
> the data.
>
> In addition to being able to read the data the user can configure how
> many buffers can be used to store the FW logs within the driver. This
> allows the user to increase/decrease the number of buffers used based on
> the users situation. The buffers are used as a ring so if the driver
> runs out of buffers then it will overwrite data. To change the number of
> buffers the user can write to the 'nr_buffs' file like this:
>
> echo 128 > /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/nr_buffs
>
> The value written to the file must be a power of 2 value between 1 (not
> recommended) and 512.
>
> Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
lkp is reporting an issue that came from this:
https://lore.kernel.org/intel-wired-lan/202307242017.3f4YsHnA-lkp@intel.com/
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
next prev parent reply other threads:[~2023-07-25 15:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-13 22:25 [Intel-wired-lan] [PATCH net-next v14 0/5] add v2 FW logging for ice driver Paul M Stillwell Jr
2023-07-13 22:25 ` [Intel-wired-lan] [PATCH net-next v14 1/5] ice: remove FW logging code Paul M Stillwell Jr
2023-07-18 5:33 ` Pucha, HimasekharX Reddy
2023-07-13 22:25 ` [Intel-wired-lan] [PATCH net-next v14 2/5] ice: configure FW logging Paul M Stillwell Jr
2023-07-18 5:41 ` Pucha, HimasekharX Reddy
2023-07-13 22:25 ` [Intel-wired-lan] [PATCH net-next v14 3/5] ice: enable " Paul M Stillwell Jr
2023-07-18 5:45 ` Pucha, HimasekharX Reddy
2023-07-13 22:25 ` [Intel-wired-lan] [PATCH net-next v14 4/5] ice: add ability to read FW log data and configure the number of log buffers Paul M Stillwell Jr
2023-07-18 5:49 ` Pucha, HimasekharX Reddy
2023-07-25 15:56 ` Tony Nguyen [this message]
2023-07-13 22:25 ` [Intel-wired-lan] [PATCH net-next v14 5/5] ice: add documentation for FW logging Paul M Stillwell Jr
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=ebc68a29-49b9-9fc5-1eaa-5eb65001eb3d@intel.com \
--to=anthony.l.nguyen@intel.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=paul.m.stillwell.jr@intel.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