aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_3ad.c
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2019-06-07 10:59:26 -0400
committerDavid S. Miller <davem@davemloft.net>2019-06-09 13:36:01 -0700
commit75466dce4d72a12cff3785bcd5d589c17224c5e4 (patch)
treea4c7b4afe03f4f8d0465958c8eb2b9ab31920d64 /drivers/net/bonding/bond_3ad.c
parentnet: fec_main: Use dev_err() instead of pr_err() (diff)
downloadlinux-dev-75466dce4d72a12cff3785bcd5d589c17224c5e4.tar.xz
linux-dev-75466dce4d72a12cff3785bcd5d589c17224c5e4.zip
bonding: improve event debug usability
Seeing bonding debug log data along the lines of "event: 5" is a bit spartan, and often requires a lookup table if you don't remember what every event is. Make use of netdev_cmd_to_name for an improved debugging experience, so for the prior example, you'll see: "bond_netdev_event received NETDEV_REGISTER" instead (both are prefixed with the device for which the event pertains). CC: Jay Vosburgh <j.vosburgh@gmail.com> CC: Veaceslav Falico <vfalico@gmail.com> CC: Andy Gospodarek <andy@greyhouse.net> CC: netdev@vger.kernel.org Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_3ad.c')
0 files changed, 0 insertions, 0 deletions