summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-11-06 17:38:27 -0800
committerJakub Kicinski <kuba@kernel.org>2025-11-06 17:38:27 -0800
commit6fc33710cd6c55397e606eeb544bdf56ee87aae5 (patch)
treeb6273623b3c049d578b7747e199f094f43587096 /net/ipv4/tcp_input.c
parent25e63e559c41b5caa2ad8f076eba90f9897c0a07 (diff)
parent16e2e6cf75e62182b9e28d0e48ab72d93c464bda (diff)
Merge branch 'net-renesas-cleanup-usage-of-gptp-flags'
Niklas Söderlund says: ==================== net: renesas: Cleanup usage of gPTP flags This series aim is to prepare for future work that will enable the use of gPTP on R-Car RAVB on Gen4. Currently RAVB have a dedicated gPTP implementation supported on Gen2 and Gen3 (ravb_ptp.c). For Gen4 a new implementation that is already upstream (rcar_gen4_ptp.c) and used by other Gen4 devices such as RTSN and RSWITCH is needed. Unfortunately the design of the Gen2/Gen3 RAVB driver where driver specific flags to control gPTP behavior have been mimicked in RTSN and RSWITCH. This was OK as there was no overlap between the two gPTP implementations. Now that RAVB needs to be able to use both having to translate between driver specific flags and common net code flags becomes even more cumbersome as there are two sets of driver specific flags to pick from. This series cleans this up for all Renesas drivers using gPTP by removing all driver specific flags and using the common flags directly. This simplifies drivers while at the same time prepare RAVB to be extended with Gen4 support. Patch 1/7 is a drive by patch where RSWITCH specific define was added in the wrong header. Patch 2/7 removes a short-cut used in RTSN and RSWITCH that prevents extending Gen4 support to RAVB without fuss. While patch 3/7 to 7/7 rework the Renesas drivers to use the common flags instead of driver specific ones. There is no intentional behavior change and only a small rework in logic in the RAVB driver. Looking at patch 3/7, 4/7 and 7/7 one can clearly see how the code have been copied from RAVB to the later implementations in RTSN and RSWITCH. ==================== Link: https://patch.msgid.link/20251104222420.882731-1-niklas.soderlund+renesas@ragnatech.se Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions