diff options
author | 2022-07-27 09:23:21 +0300 | |
---|---|---|
committer | 2022-07-29 11:02:23 +0100 | |
commit | 42823208b946d85d20a7065a1b2ef6e35a7be3a9 (patch) | |
tree | a0ddb469540b07b95840f291c8775b074948f18a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlxsw: spectrum_ptp: Add helper functions to configure PTP traps (diff) | |
download | linux-dev-42823208b946d85d20a7065a1b2ef6e35a7be3a9.tar.xz linux-dev-42823208b946d85d20a7065a1b2ef6e35a7be3a9.zip |
mlxsw: Support CQEv2 for SDQ in Spectrum-2 and newer ASICs
Currently, Tx completions are reported using Completion Queue Element
version 1 (CQEv1). These elements do not contain the Tx time stamp,
which is fine as Spectrum-1 reads Tx time stamps via a dedicated FIFO
and Spectrum-2 does not currently support PTP.
In preparation for Spectrum-2 PTP support, use CQEv2 for Spectrum-2 and
newer ASICs, as this CQE format encodes the Tx time stamp.
Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions