qed: Lower the severity of a dcbx log message.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Fri, 31 Aug 2018 11:10:17 +0000 (04:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Sep 2018 05:22:15 +0000 (22:22 -0700)
Driver displays an error message for each unrecognized dcbx TLV that's
received from the peer or configured on the device. It is observed that
syslog will be flooded with such messages in certain scenarios e.g.,
frequent link-flaps/lldp-transactions. Changing the severity of this
message to verbose level as it's not an error scenario/message.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dcbx.c

index 6bb76e6..6ce9a76 100644 (file)
@@ -253,8 +253,9 @@ qed_dcbx_get_app_protocol_type(struct qed_hwfn *p_hwfn,
                *type = DCBX_PROTOCOL_ROCE_V2;
        } else {
                *type = DCBX_MAX_PROTOCOL_TYPE;
-               DP_ERR(p_hwfn, "No action required, App TLV entry = 0x%x\n",
-                      app_prio_bitmap);
+               DP_VERBOSE(p_hwfn, QED_MSG_DCB,
+                          "No action required, App TLV entry = 0x%x\n",
+                          app_prio_bitmap);
                return false;
        }