]> git.baikalelectronics.ru Git - kernel.git/commit
dp83640: Only wait for timestamps for packets with timestamping enabled.
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Tue, 3 Nov 2015 08:34:08 +0000 (09:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2015 16:08:22 +0000 (11:08 -0500)
commit9a2a1bc958717e28ac3977acddc3e9a223837084
treebce205f41439e3935340c37d1d5f8ffd6e1499d3
parentcb123fe8668e36e82a995ebb538f63bc05c552b4
dp83640: Only wait for timestamps for packets with timestamping enabled.

In the packet timestamping function, check that the ptp version and
protocol of the packet matches what we have configured the hardware to
actually generate timestamps for, before looking/waiting for a timestamp.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c