Message ID | 20230613094526.69532-1-horatiu.vultur@microchip.com (mailing list archive) |
---|---|
Headers | show |
Series | net: micrel: Change how to read TX timestamp | expand |
The 06/13/2023 11:45, Horatiu Vultur wrote: Argh... I forgot add Richard to this thread. Therefore CC him now. > Change how to read the timestamp of the received frames. Currently it is > required to read over the MDIO bus each of the timestamps but it is > possible to change to receive the timestamp (the nanosecond part and the > least significant two bits of the second) in the frame. > The first patch makes this change, while the second patch optimized the > read of second part. Because it is not required to read the second part > of the timestmap for each received frame but it is OK to read the second > part twice per second and then cache it. > > v1->v2: > - create a patch series instead of single patch > - add optimization for reading the second part of the received timestamp, > read the second twice per second instead of for each frame > > Horatiu Vultur (2): > net: micrel: Change to receive timestamp in the frame for lan8841 > net: micrel: Schedule work to read seconds for lan8841 > > drivers/net/phy/micrel.c | 272 ++++++++++++++++++++++++++------------- > 1 file changed, 180 insertions(+), 92 deletions(-) > > -- > 2.38.0 >