]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa_eth: enable NETIF_MSG_HW by default
authorMaxim Kochetkov <fido_max@inbox.ru>
Thu, 8 Oct 2020 12:03:12 +0000 (15:03 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Oct 2020 17:49:56 +0000 (10:49 -0700)
commitfb697dc917aebe2c166a4ac4b283aaa5b4783fff
treeafa208ef7611250f14754b9e7f25c757f7f56d20
parent8c4cca5ee83247955cfb10ae7ac9b714a07fcb1a
dpaa_eth: enable NETIF_MSG_HW by default

When packets are received on the error queue, this function under
net_ratelimit():

netif_err(priv, hw, net_dev, "Err FD status = 0x%08x\n");

does not get printed. Instead we only see:

[ 3658.845592] net_ratelimit: 244 callbacks suppressed
[ 3663.969535] net_ratelimit: 230 callbacks suppressed
[ 3669.085478] net_ratelimit: 228 callbacks suppressed

Enabling NETIF_MSG_HW fixes this issue, and we can see some information
about the frame descriptors of packets.

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c