1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/microchip
Horatiu Vultur eda40be3a5 net: lan966x: Remove ptp traps in case the ptp is not enabled.
Lan966x is adding ptp traps to redirect the ptp frames to the CPU such
that the HW will not forward these frames anywhere. The issue is that in
case ptp is not enabled and the timestamping source is et to
HWTSTAMP_SOURCE_NETDEV then these traps would not be removed on the
error path.
Fix this by removing the traps in this case as they are not needed.

Fixes: 54e1ed69c4 ("net: lan966x: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()")
Suggested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/20240517135808.3025435-1-horatiu.vultur@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-05-22 10:09:04 +02:00
..
lan966x net: lan966x: Remove ptp traps in case the ptp is not enabled. 2024-05-22 10:09:04 +02:00
sparx5 net: sparx5: flower: check for unsupported control flags 2024-04-25 19:35:08 -07:00
vcap net: sparx5: Correct spelling in comments 2024-04-25 19:13:26 -07:00
enc28j60.c net: enc28j60: Use threaded interrupt instead of workqueue 2023-05-11 18:00:37 -07:00
enc28j60_hw.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
encx24j600-regmap.c net: encx24j600: Correct spelling in comments 2024-04-25 19:13:26 -07:00
encx24j600.c net: encx24j600: Correct spelling in comments 2024-04-25 19:13:26 -07:00
encx24j600_hw.h net: encx24j600: Correct spelling in comments 2024-04-25 19:13:26 -07:00
Kconfig net: lan743x: also select PHYLIB 2023-10-05 09:10:18 -07:00
lan743x_ethtool.c net: lan743x: Fixup EEE 2024-04-08 14:04:16 +01:00
lan743x_ethtool.h net: lan743x: Add support to SGMII register dump for PCI11010/PCI11414 chips 2022-11-09 19:20:13 -08:00
lan743x_main.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
lan743x_main.h net: lan743x: Add set RFE read fifo threshold for PCI1x1x chips 2024-03-28 11:36:10 +01:00
lan743x_ptp.c net: microchip: lan743x: Reduce PTP timeout on HW failure 2024-05-06 11:41:32 +02:00
lan743x_ptp.h net: microchip: lan743x: Reduce PTP timeout on HW failure 2024-05-06 11:41:32 +02:00
Makefile net: microchip: sparx5: Adding initial tc flower support for VCAP API 2022-10-24 10:37:43 +01:00