• Yangbo Lu's avatar
    dpaa2-eth: define a global ptp_qoriq structure pointer · d21c784c
    Yangbo Lu authored
    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: default avatarYangbo Lu <yangbo.lu@nxp.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d21c784c
dpaa2-ptp.c 5.5 KB