Re: [PATCH net-next v6 4/5] ice: add ability to read and configure FW log data
From: Paul M Stillwell Jr <hidden>
Date: 2023-12-14 23:15:14
On 12/14/2023 2:12 PM, Keller, Jacob E wrote:
quoted
-----Original Message----- From: Nguyen, Anthony L <anthony.l.nguyen@intel.com> Sent: Thursday, December 14, 2023 11:41 AM To: davem@davemloft.net; kuba@kernel.org; pabeni@redhat.com; edumazet@google.com; netdev@vger.kernel.org Cc: Stillwell Jr, Paul M <redacted>; Nguyen, Anthony L [off-list ref]; Keller, Jacob E [off-list ref]; Tipireddy, Vaishnavi [off-list ref]; horms@kernel.org; leon@kernel.org; Pucha, HimasekharX Reddy [off-list ref] Subject: [PATCH net-next v6 4/5] ice: add ability to read and configure FW log data...quoted
+/* the order in this array is important. it matches the ordering of the + * values in the FW so the index is the same value as in ice_fwlog_level + */ +static const char * const ice_fwlog_log_size[] = { + "128K", + "256K", + "512K", + "1M", + "2M", +};The comment feels like a copy paste. The size should only matter for software and shouldn't have anything to do with he firmware as this is just the size of the buffer we'll allocate to store into?
Yeah, not sure how that got in there...
Thanks, Jake