• Y
    dpaa2-eth: define a global ptp_qoriq structure pointer · d21c784c
    Yangbo Lu 提交于
    Define a global ptp_qoriq structure pointer, and export to use.
    The ptp clock operations will be used in dpaa2-eth driver.
    For example, supporting one step timestamping needs to write
    current time to hardware frame annotation before sending and
    then hardware inserts the delay time on frame during sending.
    So in driver, at least clock gettime operation will be needed
    to make sure right time is written to hardware frame annotation
    for one step timestamping.
    Signed-off-by: NYangbo Lu <yangbo.lu@nxp.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    d21c784c
dpaa2-ptp.c 5.5 KB