On Thu, 10 Sep 2020 17:38:32 +0800 Yangbo Lu wrote: > 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.
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:34:18: warning: symbol 'dpaa2_ptp' was not declared. Should it be static?