diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-08-15 10:42:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-15 13:34:52 -0700 |
commit | 525ef5c07f187bf0918fdf3bbc76ad18ce1d1cf9 (patch) | |
tree | 17284bade58767a0eee299d82eb532c9be22467a /drivers/net/ethernet/qlogic/qed/qed_int.c | |
parent | 83aeb9339f4859c587d0ad3d80d225b520db047e (diff) | |
download | linux-stable-525ef5c07f187bf0918fdf3bbc76ad18ce1d1cf9.tar.gz linux-stable-525ef5c07f187bf0918fdf3bbc76ad18ce1d1cf9.tar.bz2 linux-stable-525ef5c07f187bf0918fdf3bbc76ad18ce1d1cf9.zip |
qed*: Add and modify some prints
This patch touches various prints in the driver - it reduces the
verbosity of some prints [which were previously logged by default]
while adding several new debug prints and modifying others.
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_int.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_int.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_int.c b/drivers/net/ethernet/qlogic/qed/qed_int.c index a701b7640e7c..61ec973a06c7 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_int.c +++ b/drivers/net/ethernet/qlogic/qed/qed_int.c @@ -2576,8 +2576,12 @@ static u16 qed_get_igu_sb_id(struct qed_hwfn *p_hwfn, u16 sb_id) else igu_sb_id = qed_vf_get_igu_sb_id(p_hwfn, sb_id); - DP_VERBOSE(p_hwfn, NETIF_MSG_INTR, "SB [%s] index is 0x%04x\n", - (sb_id == QED_SP_SB_ID) ? "DSB" : "non-DSB", igu_sb_id); + if (sb_id == QED_SP_SB_ID) + DP_VERBOSE(p_hwfn, NETIF_MSG_INTR, + "Slowpath SB index in IGU is 0x%04x\n", igu_sb_id); + else + DP_VERBOSE(p_hwfn, NETIF_MSG_INTR, + "SB [%04x] <--> IGU SB [%04x]\n", sb_id, igu_sb_id); return igu_sb_id; } |