git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ice/base: track HW stat registers past rollover
[dpdk.git]
/
drivers
/
net
/
ice
/
base
/
ice_nvm.c
diff --git
a/drivers/net/ice/base/ice_nvm.c
b/drivers/net/ice/base/ice_nvm.c
index
8d3d0b0
..
fa9c348
100644
(file)
--- a/
drivers/net/ice/base/ice_nvm.c
+++ b/
drivers/net/ice/base/ice_nvm.c
@@
-1,5
+1,5
@@
/* SPDX-License-Identifier: BSD-3-Clause
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-201
8
+ * Copyright(c) 2001-201
9
*/
#include "ice_common.h"
*/
#include "ice_common.h"
@@
-24,7
+24,7
@@
ice_aq_read_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, u16 length,
struct ice_aq_desc desc;
struct ice_aqc_nvm *cmd;
struct ice_aq_desc desc;
struct ice_aqc_nvm *cmd;
- ice_debug(hw, ICE_DBG_TRACE, "
ice_aq_read_nvm"
);
+ ice_debug(hw, ICE_DBG_TRACE, "
%s\n", __func__
);
cmd = &desc.params.nvm;
cmd = &desc.params.nvm;
@@
-95,7
+95,7
@@
ice_read_sr_aq(struct ice_hw *hw, u32 offset, u16 words, u16 *data,
{
enum ice_status status;
{
enum ice_status status;
- ice_debug(hw, ICE_DBG_TRACE, "
ice_read_sr_aq"
);
+ ice_debug(hw, ICE_DBG_TRACE, "
%s\n", __func__
);
status = ice_check_sr_access_params(hw, offset, words);
status = ice_check_sr_access_params(hw, offset, words);
@@
-123,7
+123,7
@@
ice_read_sr_word_aq(struct ice_hw *hw, u16 offset, u16 *data)
{
enum ice_status status;
{
enum ice_status status;
- ice_debug(hw, ICE_DBG_TRACE, "
ice_read_sr_word_aq"
);
+ ice_debug(hw, ICE_DBG_TRACE, "
%s\n", __func__
);
status = ice_read_sr_aq(hw, offset, 1, data, true);
if (!status)
status = ice_read_sr_aq(hw, offset, 1, data, true);
if (!status)
@@
-152,7
+152,7
@@
ice_read_sr_buf_aq(struct ice_hw *hw, u16 offset, u16 *words, u16 *data)
u16 words_read = 0;
u16 i = 0;
u16 words_read = 0;
u16 i = 0;
- ice_debug(hw, ICE_DBG_TRACE, "
ice_read_sr_buf_aq"
);
+ ice_debug(hw, ICE_DBG_TRACE, "
%s\n", __func__
);
do {
u16 read_size, off_w;
do {
u16 read_size, off_w;
@@
-202,7
+202,7
@@
read_nvm_buf_aq_exit:
static enum ice_status
ice_acquire_nvm(struct ice_hw *hw, enum ice_aq_res_access_type access)
{
static enum ice_status
ice_acquire_nvm(struct ice_hw *hw, enum ice_aq_res_access_type access)
{
- ice_debug(hw, ICE_DBG_TRACE, "ice_acquire_nvm");
+ ice_debug(hw, ICE_DBG_TRACE, "ice_acquire_nvm
\n
");
if (hw->nvm.blank_nvm_mode)
return ICE_SUCCESS;
if (hw->nvm.blank_nvm_mode)
return ICE_SUCCESS;
@@
-218,7
+218,7
@@
ice_acquire_nvm(struct ice_hw *hw, enum ice_aq_res_access_type access)
*/
static void ice_release_nvm(struct ice_hw *hw)
{
*/
static void ice_release_nvm(struct ice_hw *hw)
{
- ice_debug(hw, ICE_DBG_TRACE, "ice_release_nvm");
+ ice_debug(hw, ICE_DBG_TRACE, "ice_release_nvm
\n
");
if (hw->nvm.blank_nvm_mode)
return;
if (hw->nvm.blank_nvm_mode)
return;
@@
-263,7
+263,7
@@
enum ice_status ice_init_nvm(struct ice_hw *hw)
u32 fla, gens_stat;
u8 sr_size;
u32 fla, gens_stat;
u8 sr_size;
- ice_debug(hw, ICE_DBG_TRACE, "
ice_init_nvm"
);
+ ice_debug(hw, ICE_DBG_TRACE, "
%s\n", __func__
);
/* The SR size is stored regardless of the NVM programming mode
* as the blank mode may be used in the factory line.
/* The SR size is stored regardless of the NVM programming mode
* as the blank mode may be used in the factory line.