1. 16 9月, 2020 3 次提交
  2. 25 8月, 2020 1 次提交
  3. 04 8月, 2020 1 次提交
    • I
      mlxsw: spectrum_trap: Add early_drop trap · 6687e953
      Ido Schimmel 提交于
      As previously explained, packets that are dropped due to buffer related
      reasons (e.g., tail drop, early drop) can be mirrored to the CPU port.
      These packets are then trapped with one of the "mirror session" traps
      and their CQE includes the reason for which the packet was mirrored.
      
      Register with devlink a new trap, early_drop, and initialize the
      corresponding Rx listener with the appropriate mirror reason. Return an
      error in case user tries to change the traps' action, as this is not
      supported.
      
      Since Spectrum-1 does not support these traps, the above is only done
      for Spectrum-2 onwards.
      Signed-off-by: NPetr Machata <petrm@mellanox.com>
      Reviewed-by: NJiri Pirko <jiri@mellanox.com>
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6687e953
  4. 30 7月, 2020 1 次提交
  5. 29 7月, 2020 2 次提交
    • V
      mlxsw: core: Add support for temperature thresholds reading for QSFP-DD transceivers · f152b41b
      Vadim Pasternak 提交于
      Allow QSFP-DD transceivers temperature thresholds reading for hardware
      monitoring and thermal control.
      
      For this type, the thresholds are located in page 02h according to the
      "Module and Lane Thresholds" description from Common Management
      Interface Specification.
      Signed-off-by: NVadim Pasternak <vadimp@mellanox.com>
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f152b41b
    • V
      mlxsw: core: Add ethtool support for QSFP-DD transceivers · 6af496ad
      Vadim Pasternak 提交于
      The Quad Small Form Factor Pluggable Double Density (QSFP-DD) hardware
      specification defines a form factor that supports up to 400 Gbps in
      aggregate over an 8x50-Gbps electrical interface. The QSFP-DD supports
      both optical and copper interfaces.
      
      Implementation is based on Common Management Interface Specification;
      Rev 4.0 May 8, 2019. Table 8-2 "Identifier and Status Summary (Lower
      Page)" from this spec defines "Id and Status" fields located at offsets
      00h - 02h. Bit 2 at offset 02h ("Flat_mem") specifies QSFP EEPROM memory
      mode, which could be "upper memory flat" or "paged". Flat memory mode is
      coded "1", and indicates that only page 00h is implemented in EEPROM.
      Paged memory is coded "0" and indicates that pages 00h, 01h, 02h, 10h
      and 11h are implemented. Pages 10h and 11h are currently not supported
      by the driver.
      
      "Flat" memory mode is used for the passive copper transceivers. For this
      type only page 00h (256 bytes) is available. "Paged" memory is used for
      the optical transceivers. For this type pages 00h (256 bytes), 01h (128
      bytes) and 02h (128 bytes) are available. Upper page 01h contains static
      advertising field, while upper page 02h contains the module-defined
      thresholds and lane-specific monitors.
      
      Extend enumerator 'mlxsw_reg_mcia_eeprom_module_info_id' with additional
      field 'MLXSW_REG_MCIA_EEPROM_MODULE_INFO_TYPE_ID'. This field is used to
      indicate for QSFP-DD transceiver type which memory mode is to be used.
      
      Expose 256 bytes buffer for QSFP-DD passive copper transceiver and
      512 bytes buffer for optical.
      Signed-off-by: NVadim Pasternak <vadimp@mellanox.com>
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Reviewed-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6af496ad
  6. 16 7月, 2020 1 次提交
  7. 15 7月, 2020 3 次提交
  8. 14 7月, 2020 2 次提交
  9. 30 6月, 2020 1 次提交
  10. 02 6月, 2020 2 次提交
  11. 27 5月, 2020 6 次提交
  12. 25 5月, 2020 4 次提交
  13. 21 4月, 2020 1 次提交
  14. 31 3月, 2020 2 次提交
  15. 16 3月, 2020 1 次提交
  16. 28 2月, 2020 1 次提交
  17. 27 2月, 2020 1 次提交
  18. 25 2月, 2020 2 次提交
  19. 25 1月, 2020 2 次提交
  20. 19 1月, 2020 3 次提交