Logo of The Linux Kernel

The Linux Kernel

6.19.0

快速搜尋

Contents

  • Development process
  • 提交補釘
  • 行為守則
  • 維護者手冊
  • All development-process docs
  • 核心 API
  • Driver APIs
  • 子系統
    • Core subsystems
    • Human interfaces
    • Networking interfaces
      • Networking
      • NetLabel
      • InfiniBand
      • ISDN
      • MHI
    • Storage interfaces
    • 其他子系統
  • Locking
  • Licensing rules
  • 撰寫文件
  • 開發工具
  • 測試指南
  • Hacking guide
  • Tracing
  • Fault injection
  • 即時補釘
  • Rust
  • Administration
  • 建置系統
  • 回報議題
  • 使用者空間工具
  • 使用者空間 API
  • 韌體
  • 韌體與裝置樹
  • CPU 架構
  • 未排序的文件

本頁

  • 顯示原始碼

stmmac (synopsys dwmac) devlink support¶

This document describes the devlink features implemented by the stmmac device driver.

Parameters¶

The stmmac driver implements the following driver-specific parameters.

Driver-specific parameters implemented¶

Name

Type

Mode

描述

phc_coarse_adj

Boolean

runtime

Enable the Coarse timestamping mode, as defined in the DWMAC TRM. A detailed explanation of this timestamping mode can be found in the Socfpga Functionnal Description [1].

In Coarse mode, the ptp clock is expected to be fed by a high-precision clock that is externally adjusted, and the subsecond increment used for timestamping is set to 1/ptp_clock_rate.

In Fine mode (i.e. Coarse mode == false), the ptp clock frequency is continuously adjusted, but the subsecond increment is set to 2/ptp_clock_rate.

Coarse mode is suitable for PTP Grand Master operation. If unsure, leave the parameter to False.

[1] https://www.intel.com/content/www/us/en/docs/programmable/683126/21-2/functional-description-of-the-emac.html

©The kernel development community. | Powered by Sphinx 8.2.3 & Alabaster 1.0.0 | Page source