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);
 }
_______________________________________________
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