svn commit: r328617 - head/sys/dev/etherswitch/arswitch

Adrian Chadd adrian at FreeBSD.org
Wed Jan 31 07:20:35 UTC 2018


Author: adrian
Date: Wed Jan 31 07:20:34 2018
New Revision: 328617
URL: https://svnweb.freebsd.org/changeset/base/328617

Log:
  [arswitch] add a new debug section for upcoming address table management.

Modified:
  head/sys/dev/etherswitch/arswitch/arswitchvar.h

Modified: head/sys/dev/etherswitch/arswitch/arswitchvar.h
==============================================================================
--- head/sys/dev/etherswitch/arswitch/arswitchvar.h	Wed Jan 31 06:42:01 2018	(r328616)
+++ head/sys/dev/etherswitch/arswitch/arswitchvar.h	Wed Jan 31 07:20:34 2018	(r328617)
@@ -97,6 +97,8 @@ struct arswitch_softc {
 
 		/* ATU functions */
 		int (* arswitch_atu_flush) (struct arswitch_softc *);
+		int (* arswitch_atu_flush_port) (struct arswitch_softc *, int);
+		int (* arswitch_atu_learn_default) (struct arswitch_softc *);
 
 		/* VLAN functions */
 		int (* arswitch_port_vlan_setup) (struct arswitch_softc *,
@@ -151,6 +153,7 @@ struct arswitch_softc {
 #define	ARSWITCH_DBG_PHYIO		0x00000004
 #define	ARSWITCH_DBG_POLL		0x00000008
 #define	ARSWITCH_DBG_VLAN		0x00000010
+#define	ARSWITCH_DBG_ATU		0x00000020
 #define	ARSWITCH_DBG_ANY		0xffffffff
 
 #if 1


More information about the svn-src-head mailing list