]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f6ca5e69397d73439a3dfd5937635b90cd40e1c
tree5ccd9f74a277a528e71f36118b20baeb570df368
parentc3ef9ba1e5070076c3d0a5e43efbef7b5e892914
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