net: ethernet: ti: netcp_ethss: use cpts to check if packet needs timestamping
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Tue, 27 Jun 2017 13:58:53 +0000 (16:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2017 16:28:57 +0000 (12:28 -0400)
commit0ccf59ba07377201f3d4347b7c6443f60bd9af93
tree5ccd9f74a277a528e71f36118b20baeb570df368
parentf44f8417baef9dcd8533a706691dadbda219ef82
net: ethernet: ti: netcp_ethss: use cpts to check if packet needs timestamping

There is cpts function to check if packet can be timstamped with cpts.
Seems that ptp_classify_raw cover all cases listed with "case".

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