From owner-svn-src-all@freebsd.org Wed Jan 31 07:20:35 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2ED06EDFAEA; Wed, 31 Jan 2018 07:20:35 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D3BD67706D; Wed, 31 Jan 2018 07:20:34 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CA69A22C98; Wed, 31 Jan 2018 07:20:34 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0V7KYQJ014449; Wed, 31 Jan 2018 07:20:34 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0V7KYtw014448; Wed, 31 Jan 2018 07:20:34 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201801310720.w0V7KYtw014448@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Wed, 31 Jan 2018 07:20:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328617 - head/sys/dev/etherswitch/arswitch X-SVN-Group: head X-SVN-Commit-Author: adrian X-SVN-Commit-Paths: head/sys/dev/etherswitch/arswitch X-SVN-Commit-Revision: 328617 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2018 07:20:35 -0000 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