Commit b4c2fb32 authored by Kurt Kanzenbach's avatar Kurt Kanzenbach Committed by Greg Kroah-Hartman
Browse files

ptp: Add generic PTP is_sync() function



[ Upstream commit f72de02e ]

PHY drivers such as micrel or dp83640 need to analyze whether a given
skb is a PTP sync message for one step functionality.

In order to avoid code duplication introduce a generic function and
move it to ptp classify.

Signed-off-by: default avatarKurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 9b2bfdbf ("phy: mscc: Stop taking ts_lock for tx_queue and use its own lock")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0b21e9cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment