]> git.baikalelectronics.ru Git - kernel.git/commit
net: added a BPF to help drivers detect PTP packets.
authorRichard Cochran <richardcochran@gmail.com>
Sat, 17 Jul 2010 08:49:17 +0000 (08:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jul 2010 02:15:26 +0000 (19:15 -0700)
commitaac7bcbf78cf4ad21a92c2eaca7e7fdf8c13e6f9
treeadc92669c93feabf1fe2264797700de36980467f
parent2866bc7453e6daba92f463cee73e2705b827171e
net: added a BPF to help drivers detect PTP packets.

Certain kinds of hardware time stamping units in both MACs and PHYs have
the limitation that they can only time stamp PTP packets. Drivers for such
hardware are left with the task of correctly matching skbs to time stamps.
This patch adds a BPF that drivers can use to classify PTP packets when
needed.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ptp_classify.h [new file with mode: 0644]