Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2018 07:20:34 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r328617 - head/sys/dev/etherswitch/arswitch
Message-ID:  <201801310720.w0V7KYtw014448@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801310720.w0V7KYtw014448>