1. 27 2月, 2018 1 次提交
    • A
      net: dsa: mv88e6xxx: Poll when no interrupt defined · 294d711e
      Andrew Lunn 提交于
      Not all boards have the interrupt output from the switch connected to
      a GPIO line. In such cases, phylib has to poll the internal PHYs,
      rather than receive an interrupt when there is a change in the link
      state. phylib polls once per second, and per PHY reads around 4
      words. With a switch typically having 4 internal PHYs, this means 16
      MDIO transactions per second.
      
      Rather than performing this phylib level polling, have the driver poll
      the interrupt status register. If the status register indicates an
      interrupt condition processing of interrupts in the same way as if a
      GPIO was used.
      
      Polling 10 times a second places less load on the MDIO bus. But rather
      than taking on average 0.5s to detect a link change, it takes less
      than 0.05s. Additionally, other interrupts, such as the watchdog, ATU
      and VTU violations will be reported.
      Signed-off-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      294d711e
  2. 23 2月, 2018 1 次提交
  3. 17 2月, 2018 2 次提交
  4. 15 2月, 2018 4 次提交
  5. 20 1月, 2018 1 次提交
  6. 15 1月, 2018 2 次提交
  7. 08 12月, 2017 3 次提交
  8. 06 12月, 2017 4 次提交
  9. 03 12月, 2017 2 次提交
  10. 13 11月, 2017 1 次提交
  11. 11 11月, 2017 5 次提交
  12. 27 10月, 2017 2 次提交
  13. 18 10月, 2017 2 次提交
  14. 15 10月, 2017 1 次提交
    • V
      net: dsa: mv88e6xxx: setup random mac address · 04a69a17
      Vivien Didelot 提交于
      An Ethernet switch may support having a MAC address, which can be used
      as the switch's source address in transmitted full-duplex Pause frames.
      
      If a DSA switch supports the related .set_addr operation, the DSA core
      sets the master's MAC address on the switch. This won't make sense
      anymore in a multi-CPU ports system, because there won't be a unique
      master device assigned to a switch tree.
      
      Instead, setup the switch from within the Marvell driver with a random
      MAC address, and remove the .set_addr implementation.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      04a69a17
  15. 29 9月, 2017 2 次提交
  16. 21 8月, 2017 1 次提交
  17. 08 8月, 2017 5 次提交
  18. 02 8月, 2017 1 次提交