]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: add a new phy_device flag to keep preamble before sfd
authorStefan Eichenberger <stefan.eichenberger@toradex.com>
Tue, 20 Jan 2026 20:30:02 +0000 (21:30 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jan 2026 02:27:32 +0000 (18:27 -0800)
commit2153e151c27cee16f5b33b882aa7ffe03bc7afc8
treedec9900dc2edc548bbe743ed2925500bbce80efb
parent31d44a37820f00de8156d1c1960dbf1bf04263c2
net: phy: add a new phy_device flag to keep preamble before sfd

Add a new flag, PHY_F_KEEP_PREAMBLE_BEFORE_SFD, to indicate that the PHY
shall not remove the preamble before the SFD if it supports it. MACs
that do not support receiving frames without a preamble can set this
flag.

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20260120203905.23805-2-eichest@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/phy.h