[PATCH net-next v5 0/3] Macb PTP minor updates

From: Harini Katakam
Date: Tue Apr 11 2023 - 08:37:29 EST


- Enable PTP unicast
- Optimize HW timestamp reading

v5:
Remove unnecessary braces and !! in gem_has_ptp

v4:
Fix kernel test robot error; use static check for
CONFIG_MACB_USE_HWTSTAMP where necessary

v3:
Add patch to move CONFIG_MACB_USE_HWTSTAMP check into gem_has_ptp

v2:
- Handle unicast setting with one register R/W operation
- Update HW timestamp logic to remove sec_rollover variable
- Removed Richard Cochran's ACK as patch 2/2 changed

Harini Katakam (3):
net: macb: Update gem PTP support check
net: macb: Enable PTP unicast
net: macb: Optimize reading HW timestamp

drivers/net/ethernet/cadence/macb.h | 6 +++++-
drivers/net/ethernet/cadence/macb_main.c | 17 +++++++++++++----
drivers/net/ethernet/cadence/macb_ptp.c | 4 ++--
3 files changed, 20 insertions(+), 7 deletions(-)

--
2.17.1