Skip to main content

PCI Lane Margining Tool

Project description

PCIe Lane Margining Tool (LMT)

LMT is a standard PCIE margining measurement added by PCI-SIG in the PCIe 4.0 specification. This is required mainly to overcome the challenges in delivering a reliable 16GT/s solution. Lane Margining enables system designers to measure the available margin in a standardized manner.

Key Benefits

  • Works in a production platform without any test equipment
  • Provides a way to measure actual margin when running prod traffic
  • Provides visibility to the details of the defect:
    • exactly which wires/pins are bad
    • exactly how ‘bad’ each wire pair (vs a nominal system
  • Avoids excessive part swaps triggered by multiple repair actions
  • Provides a reliable way to check if source defect is fixed after repairs

This project is part of ocp-diag-core and exists under the same MIT License Agreement.

Command Syntax

$ pci_lmt -h
usage: pci_lmt.par [-h] [-c CONFIG_FILE] [-e ERROR_COUNT_LIMIT] [-d DWELL_TIME] [-a ANNOTATION] [-o OUTPUT] [-v] config_file

Runs Lane Margining Test on PCIe devices.

  CONFIG_FILE        Path to the local configuration file (in JSON format). Overrides `platform` flag.

options:
  -h, --help            show this help message and exit
  -e ERROR_COUNT_LIMIT  Maximum errors allowed before terminating the test. Default: 63
  -d DWELL_TIME         Amount of time (in seconds) to wait before making BER measurements. Default: 5
  -a ANNOTATION         Annotation string to be prefix'd for LMT results. Default: <empty>
  -o OUTPUT             Output format. Supported formats: scribe, json. Default: json
  -v                    Verbosity level. Use '-v' for INFO and '-vv' for DEBUG. Default: 0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ocptv-pci_lmt-1.1.1.tar.gz (19.5 kB view hashes)

Uploaded Source

Built Distribution

ocptv_pci_lmt-1.1.1-py3-none-any.whl (23.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page