1. 27 10月, 2017 2 次提交
  2. 26 10月, 2017 1 次提交
    • E
      net: dsa: lan9303: Do not disable switch fabric port 0 at .probe · 3c91b0c1
      Egil Hjelmeland 提交于
      Make the LAN9303 work when lan9303_probe() is called twice.
      
      For some unknown reason the LAN9303 switch fail to forward data when switch
      fabric port 0 TX is disabled during probe. (Write of LAN9303_MAC_TX_CFG_0
      in lan9303_disable_processing_port().)
      
      In that situation the switch fabric seem to receive frames, because the ALR
      is learning addresses. But no frames are transmitted on any of the ports.
      
      In our system lan9303_probe() is called twice, first time
      dsa_register_switch() return -EPROBE_DEFER. As an experiment, modified the
      code to skip writing LAN9303_MAC_TX_CFG_0, port 0 during the first probe.
      Then the switch works as expected.
      
      Resolve the problem by not calling lan9303_disable_processing_port() on
      port 0 during probe. Ports 1 and 2 are still disabled.
      
      Although unsatisfying that the exact failure mechanism is not known,
      the patch should not cause any harm.
      Signed-off-by: NEgil Hjelmeland <privat@egil-hjelmeland.no>
      Reviewed-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3c91b0c1
  3. 23 10月, 2017 7 次提交
  4. 22 10月, 2017 2 次提交
  5. 18 10月, 2017 2 次提交
  6. 15 10月, 2017 5 次提交
  7. 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
  8. 12 10月, 2017 2 次提交
  9. 04 10月, 2017 2 次提交
  10. 01 10月, 2017 1 次提交
  11. 29 9月, 2017 2 次提交
  12. 22 9月, 2017 1 次提交
  13. 21 9月, 2017 1 次提交
  14. 20 9月, 2017 11 次提交