• A
    net/mlx5e: Ethtool link speed setting fixes · 6fa1bcab
    Achiad Shochat 提交于
    - Port speed settings are applied by the device only upon
      port admin status transition from DOWN to UP.
      So we enforce this transition regardless of the port's
      current operation state (which may be occasionally DOWN if
      for example the network cable is disconnected).
    - Fix the PORT_UP/DOWN device interface enum
    - Set the local_port bit in the device PAOS register
    - EXPORT the PAOS (Port Administrative and Operational Status)
      register set/query access functions.
    Signed-off-by: NAchiad Shochat <achiad@mellanox.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    6fa1bcab
driver.h 22.0 KB