net: ethernet: ti: cpsw: allow PTP 224.0.0.107 to be timestamped
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Fri, 6 Jul 2018 18:44:45 +0000 (21:44 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Jul 2018 12:22:57 +0000 (21:22 +0900)
commit1c0e8123e32a048a6c79435704c77d9e04ec5a1b
tree4a879f1d9154a594da1af97ccff4b5888fa24c1a
parent1239a96a8fcbdaa5e4171db12ccc694027a20ee7
net: ethernet: ti: cpsw: allow PTP 224.0.0.107 to be timestamped

Tested on AM572x with cpsw v1.15 for PTP sync and delay_req messages.
It doesn't work on cpsw v1.12, so added only for cpsw v > 1.15.

Command for testing:
ptp4l -P -4 -H -i eth0 -l 6 -m -q -p /dev/ptp0 -f ptp.cfg
where ptp.cfg:

[global]
tx_timestamp_timeout     20

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c