1
linux/drivers/net/ethernet/renesas
Niklas Söderlund 126e799602 net: ravb: Only advertise Rx/Tx timestamps if hardware supports it
Recent work moving the reporting of Rx software timestamps to the core
[1] highlighted an issue where hardware time stamping was advertised
for the platforms where it is not supported.

Fix this by covering advertising support for hardware timestamps only if
the hardware supports it. Due to the Tx implementation in RAVB software
Tx timestamping is also only considered if the hardware supports
hardware timestamps. This should be addressed in future, but this fix
only reflects what the driver currently implements.

1. Commit 277901ee3a ("ravb: Remove setting of RX software timestamp")

Fixes: 7e09a052dc ("ravb: Exclude gPTP feature support for RZ/G2L")
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Tested-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://patch.msgid.link/20241014124343.3875285-1-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-10-15 18:41:10 -07:00
..
Kconfig net: ethernet: rtsn: Add support for Renesas Ethernet-TSN 2024-06-21 12:24:54 +01:00
Makefile net: ethernet: rtsn: Add support for Renesas Ethernet-TSN 2024-06-21 12:24:54 +01:00
ravb_main.c net: ravb: Only advertise Rx/Tx timestamps if hardware supports it 2024-10-15 18:41:10 -07:00
ravb_ptp.c
ravb.h net: ravb: Fix maximum TX frame size for GbEth devices 2024-09-24 11:55:13 +02:00
rcar_gen4_ptp.c
rcar_gen4_ptp.h
rswitch.c net: renesas: rswitch: Remove setting of RX software timestamp 2024-09-03 15:17:48 -07:00
rswitch.h
rtsn.c net: ethernet: rtsn: fix potential memory leak in rtsn_start_xmit() 2024-10-15 10:59:29 -07:00
rtsn.h net: ethernet: rtsn: Add support for Renesas Ethernet-TSN 2024-06-21 12:24:54 +01:00
sh_eth.c
sh_eth.h