Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2018 20:37:29 +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: r328901 - head/sys/dev/etherswitch/arswitch
Message-ID:  <201802052037.w15KbTsw061594@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Feb  5 20:37:29 2018
New Revision: 328901
URL: https://svnweb.freebsd.org/changeset/base/328901

Log:
  [arswitch] disable ARP copy-to-CPU port for AR9340 for now.
  
  I'll have to go double check to see if it does indeed pass ARP frames between
  switch ports with this disabled, but it seems required for the CPU port to see
  ARP traffic.
  
  I'll dig into this some more.

Modified:
  head/sys/dev/etherswitch/arswitch/arswitch_9340.c

Modified: head/sys/dev/etherswitch/arswitch/arswitch_9340.c
==============================================================================
--- head/sys/dev/etherswitch/arswitch/arswitch_9340.c	Mon Feb  5 20:30:53 2018	(r328900)
+++ head/sys/dev/etherswitch/arswitch/arswitch_9340.c	Mon Feb  5 20:37:29 2018	(r328901)
@@ -90,9 +90,11 @@ ar9340_atu_learn_default(struct arswitch_softc *sc)
 	arswitch_modifyreg(sc->sc_dev, AR934X_REG_QM_CTRL,
 	    AR934X_QM_CTRL_ARP_EN, AR934X_QM_CTRL_ARP_EN);
 
+#if 0
 	/* Copy frame to CPU port, not just redirect it */
 	arswitch_modifyreg(sc->sc_dev, AR934X_REG_QM_CTRL,
 	    AR934X_QM_CTRL_ARP_COPY_EN, AR934X_QM_CTRL_ARP_COPY_EN);
+#endif
 
 	return (0);
 }



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