Commit 850268d3 authored by Michal Schmidt's avatar Michal Schmidt Committed by David S. Miller

bnx2x: lower verbosity of VF stats debug messages

When BNX2X_MSG_IOV is enabled, the driver produces too many VF statistics
messages. Lower the verbosity of the VF stats messages similarly as in
commit 76ca70fa ("bnx2x: [Debug] change verbosity of some prints").
Signed-off-by: default avatarMichal Schmidt <mschmidt@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 466e8bf1
...@@ -1899,7 +1899,8 @@ void bnx2x_iov_adjust_stats_req(struct bnx2x *bp) ...@@ -1899,7 +1899,8 @@ void bnx2x_iov_adjust_stats_req(struct bnx2x *bp)
continue; continue;
} }
DP(BNX2X_MSG_IOV, "add addresses for vf %d\n", vf->abs_vfid); DP_AND((BNX2X_MSG_IOV | BNX2X_MSG_STATS),
"add addresses for vf %d\n", vf->abs_vfid);
for_each_vfq(vf, j) { for_each_vfq(vf, j) {
struct bnx2x_vf_queue *rxq = vfq_get(vf, j); struct bnx2x_vf_queue *rxq = vfq_get(vf, j);
...@@ -1920,10 +1921,11 @@ void bnx2x_iov_adjust_stats_req(struct bnx2x *bp) ...@@ -1920,10 +1921,11 @@ void bnx2x_iov_adjust_stats_req(struct bnx2x *bp)
cpu_to_le32(U64_HI(q_stats_addr)); cpu_to_le32(U64_HI(q_stats_addr));
cur_query_entry->address.lo = cur_query_entry->address.lo =
cpu_to_le32(U64_LO(q_stats_addr)); cpu_to_le32(U64_LO(q_stats_addr));
DP(BNX2X_MSG_IOV, DP_AND((BNX2X_MSG_IOV | BNX2X_MSG_STATS),
"added address %x %x for vf %d queue %d client %d\n", "added address %x %x for vf %d queue %d client %d\n",
cur_query_entry->address.hi, cur_query_entry->address.hi,
cur_query_entry->address.lo, cur_query_entry->funcID, cur_query_entry->address.lo,
cur_query_entry->funcID,
j, cur_query_entry->index); j, cur_query_entry->index);
cur_query_entry++; cur_query_entry++;
cur_data_offset += sizeof(struct per_queue_stats); cur_data_offset += sizeof(struct per_queue_stats);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment