1. 10 11月, 2019 1 次提交
  2. 24 3月, 2019 2 次提交
  3. 12 10月, 2018 2 次提交
    • F
      net: dsa: bcm_sf2: Call setup during switch resume · 54baca09
      Florian Fainelli 提交于
      There is no reason to open code what the switch setup function does, in
      fact, because we just issued a switch reset, we would make all the
      register get their default values, including for instance, having unused
      port be enabled again and wasting power and leading to an inappropriate
      switch core clock being selected.
      
      Fixes: 8cfa9498 ("net: dsa: bcm_sf2: add suspend/resume callbacks")
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      54baca09
    • F
      net: dsa: bcm_sf2: Fix unbind ordering · bf3b452b
      Florian Fainelli 提交于
      The order in which we release resources is unfortunately leading to bus
      errors while dismantling the port. This is because we set
      priv->wol_ports_mask to 0 to tell bcm_sf2_sw_suspend() that it is now
      permissible to clock gate the switch. Later on, when dsa_slave_destroy()
      comes in from dsa_unregister_switch() and calls
      dsa_switch_ops::port_disable, we perform the same dismantling again, and
      this time we hit registers that are clock gated.
      
      Make sure that dsa_unregister_switch() is the first thing that happens,
      which takes care of releasing all user visible resources, then proceed
      with clock gating hardware. We still need to set priv->wol_ports_mask to
      0 to make sure that an enabled port properly gets disabled in case it
      was previously used as part of Wake-on-LAN.
      
      Fixes: d9338023 ("net: dsa: bcm_sf2: Make it a real platform device driver")
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bf3b452b
  4. 04 8月, 2018 1 次提交
  5. 04 7月, 2018 1 次提交
  6. 17 5月, 2018 1 次提交
  7. 12 5月, 2018 2 次提交
  8. 27 4月, 2018 1 次提交
  9. 15 12月, 2017 1 次提交
  10. 07 12月, 2017 1 次提交
  11. 01 12月, 2017 1 次提交
  12. 24 11月, 2017 1 次提交
  13. 13 11月, 2017 1 次提交
  14. 29 10月, 2017 1 次提交
  15. 27 10月, 2017 1 次提交
  16. 23 10月, 2017 1 次提交
  17. 18 10月, 2017 1 次提交
  18. 13 10月, 2017 1 次提交
    • F
      net: dsa: bcm_sf2: Turn on ACB at the switch level · 32e47ff0
      Florian Fainelli 提交于
      Turn on the out of band Advanced Congestion Buffering (ACB) mechanism at
      the switch level now that we have properly established the queue mapping
      between the switch egress queues and the SYSTEMPORT egress queues. This
      allows the switch to correctly backpressure the host system when one of
      its queue drops below the configured thresholds.
      
      This is also helping achieve so called "lossless" behavior by adapting
      the TX interrupt pacing to the actual speed and capacity of the switch
      port.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      32e47ff0
  19. 01 10月, 2017 1 次提交
  20. 22 9月, 2017 1 次提交
  21. 20 9月, 2017 5 次提交
  22. 06 9月, 2017 2 次提交
  23. 31 8月, 2017 1 次提交
  24. 30 8月, 2017 1 次提交
  25. 08 8月, 2017 2 次提交
  26. 04 8月, 2017 1 次提交
  27. 02 8月, 2017 4 次提交
  28. 24 6月, 2017 1 次提交