mirror of
https://github.com/torvalds/linux.git
synced 2026-10-28 09:35:02 +01:00
The KSZ8463 switch supports PTP but it's not supported by the driver. Add L2 two-step PTP support for the KSZ8463. IPv4 and IPv6 layers aren't supported. Neither is one-step PTP. Use KSZ8463-specific implementations of the .get_ts_info and .port_hwtstamp_set callbacks. The pdelay_req and pdelay_resp timestamps share one interrupt bit status while they're located in two different registers. So introduce last_tx_is_pdelayresp to keep track of the last sent event type. This flag is set by the xmit worker right before sending the packet and then used in the interrupt handler to retrieve the timestamp location. Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com> Link: https://patch.msgid.link/20260727-ksz-new-ptp-v3-10-caba39e680e3@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| ksz_common.c | ||
| ksz_common.h | ||
| ksz_dcb.c | ||
| ksz_dcb.h | ||
| ksz_ptp_reg.h | ||
| ksz_ptp.c | ||
| ksz_ptp.h | ||
| ksz_spi.c | ||
| ksz8_reg.h | ||
| ksz8.c | ||
| ksz8.h | ||
| ksz8863_smi.c | ||
| ksz9477_acl.c | ||
| ksz9477_i2c.c | ||
| ksz9477_reg.h | ||
| ksz9477_tc_flower.c | ||
| ksz9477.c | ||
| ksz9477.h | ||
| lan937x_main.c | ||
| lan937x_reg.h | ||
| lan937x.h | ||
| Makefile | ||