forked from DPDK/dpdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common/mlx5: add timestamp format support to DevX
[ upstream commit 569ffbc ] This patch handles the NIC-supported timestamp formats via DevX. Two different timestamp formats can be provided potentially. The free-running format provides opaque values captured from the internal clock counter fed by some independent oscillator. The free-running frequency is not pre-defined and should be queried from the NIC. The real-time timestamps are expressed in nanoseconds, captured from the dedicated UTC counter, that can be adjusted on the fly and synchronized with some external reference clock. Depending on the version and configuration the hardware might support either FR (free-running) or RT (real-time) timestamps, per queue basis. The commit provides the querying information about the supported timestamp formats and provides the means to configure ones at queue creation time. Fixes: e2b4925 ("net/mlx5: support Direct Rules E-Switch") Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> Acked-by: Matan Azrad <matan@nvidia.com> Acked-by: Ori Kam <orika@nvidia.com>
- Loading branch information
1 parent
604068d
commit 7ddf9ea
Showing
3 changed files
with
90 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters