]> 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)
commit8353247755f5ff6a7ca99ee0d28b2cdc7ab74846
treebce205f41439e3935340c37d1d5f8ffd6e1499d3
parentb5e792abc7c1454dede472fb0caa843934869aaf
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