[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230613094526.69532-1-horatiu.vultur@microchip.com>
Date: Tue, 13 Jun 2023 11:45:24 +0200
From: Horatiu Vultur <horatiu.vultur@...rochip.com>
To: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <andrew@...n.ch>, <hkallweit1@...il.com>, <linux@...linux.org.uk>,
<davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, Horatiu Vultur <horatiu.vultur@...rochip.com>
Subject: [PATCH net-next v2 0/2] net: micrel: Change how to read TX timestamp
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
Powered by blists - more mailing lists