commit | 15f0127d1d189fda3294b7823e3e654afca54055 | [log] [tgz] |
---|---|---|
author | Richard Cochran <richardcochran@gmail.com> | Sat Jul 17 08:49:17 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 18 19:15:26 2010 -0700 |
tree | adc92669c93feabf1fe2264797700de36980467f | |
parent | 28b041139e344ecd0f144d6205b004ae354cfa1e [diff] |
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>