Author: vangyzen
Date: Mon Oct  8 01:28:46 2018
New Revision: 339225
URL: https://svnweb.freebsd.org/changeset/base/339225

Log:
  em/igb:  Do not print link state messages
  
  These messages are totally redundant with the iflib messages.
  They're also not very useful, since they don't include the
  interface name.
  
  Discussed with:       shurd
  Approved by:  re (rgrimes)
  Sponsored by: Dell EMC Isilon

Modified:
  head/sys/dev/e1000/if_em.c

Modified: head/sys/dev/e1000/if_em.c
==============================================================================
--- head/sys/dev/e1000/if_em.c  Sun Oct  7 19:50:44 2018        (r339224)
+++ head/sys/dev/e1000/if_em.c  Mon Oct  8 01:28:46 2018        (r339225)
@@ -1804,13 +1804,11 @@ em_if_update_admin_status(if_ctx_t ctx)
                }
                iflib_link_state_change(ctx, LINK_STATE_UP,
                    IF_Mbps(adapter->link_speed));
-               printf("Link state changed to up\n");
        } else if (!link_check && (adapter->link_active == 1)) {
                adapter->link_speed = 0;
                adapter->link_duplex = 0;
                adapter->link_active = 0;
                iflib_link_state_change(ctx, LINK_STATE_DOWN, 0);
-               printf("Link state changed to down\n");
        }
        em_update_stats_counters(adapter);
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to